Lantronix SGX 5150 User Guide - Page 91

To View or Con HTTP, Using Web Manager, Using the CLI, Using XML

Page 91 highlights

9: Administration HTTP Settings Description Log Format Set the log format string for the HTTP server. Follow these Log Format rules:  %a - remote IP address (could be a proxy)  %b - bytes sent excluding headers  %B - bytes sent excluding headers (0 h - remote host (same as '%a')  %{h}i - header contents from request (h = header string)  %m - request method  %p - ephemeral local port value used for request  %q - query string (prepend with '?' or empty '-')  %t - timestamp HH:MM:SS (same as Apache '%(%H:%M:%S)t' or '%(%T)t')  %u - remote user (could be bogus for 401 status)  %U - URL path info  %r - first line of request (same as '%m %U%q ')  %s - return status Authentication Timeout The timeout period applies if the selected authentication type is either Digest or SSL/Digest. After this period of inactivity, the client must authenticate again. To View or Configure HTTP Using Web Manager  To view HTTP statistics, on the Administration page, click HTTP > Statistics  To configure HTTP, on the Administration page, click HTTP > Configuration. Using the CLI  To enter the HTTP command level: enable > config > http Using XML  Include in your file: The HTTP Server can be configured with many different authentication directives. The authentication is hierarchical in that any URI can be given an authentication directive in order to override a parent URI authentication directive. HTTP Authentication Settings URI Authentication Type Table 9-22 HTTP Authentication Description Enter the URI. The URI must begin with / to refer to the filesystem. Select an HTTP authentication type. The different types offer various levels of security, from the least to most secure:  None: no authentication necessary  Basic: encodes passwords using Base64  Digest: encodes passwords using MD5 When changing the parameters of Digest authentication, it is often best to close and reopen the browser to ensure that it does not attempt to use cached authentication information. There is no real reason to create an authentication directive using None unless you want to override a parent directive that uses some other Authentication Type. Click Submit when URI and Authentication Type is entered to submit it. SGX 5150 IoT Device Gateway User Guide 91

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129

9: Administration
SGX 5150 IoT Device Gateway User Guide
91
To View or Configure HTTP
Using Web Manager
To view HTTP statistics, on the
Administration
page, click
HTTP > Statistics
To configure HTTP, on the
Administration
page, click
HTTP > Configuration
.
Using the CLI
To enter the HTTP command level:
enable > config > http
Using XML
Include in your file:
<configgroup name="http server">
The HTTP Server can be configured with many different authentication directives. The
authentication is hierarchical in that any URI can be given an authentication directive in order to
override a parent URI authentication directive.
Table 9-22
HTTP Authentication
Log Format
Set the log format string for the HTTP server. Follow these
Log Format
rules:
%a
- remote IP address (could be a proxy)
%b
- bytes sent excluding headers
%B
- bytes sent excluding headers (0 = '-')
%h
- remote host (same as '%a')
%{h}i
- header contents from request (h = header string)
%m
- request method
%p
- ephemeral local port value used for request
%q
- query string (prepend with '?' or empty '-')
%t
- timestamp HH:MM:SS (same as Apache '%(%H:%M:%S)t' or '%(%T)t')
%u
- remote user (could be bogus for 401 status)
%U
- URL path info
%r
- first line of request (same as '%m %U%q <version>')
%s
- return status
Authentication Timeout
The timeout period applies if the selected authentication type is either
Digest
or
SSL/Digest
. After this period of inactivity, the client must authenticate again.
HTTP Authentication
Settings
Description
URI
Enter the URI. The URI must begin with / to refer to the filesystem.
Authentication Type
Select an HTTP authentication type. The different types offer various levels of
security, from the least to most secure:
None:
no authentication necessary
Basic:
encodes passwords using Base64
Digest:
encodes passwords using MD5
When changing the parameters of Digest authentication, it is often best to close
and reopen the browser to ensure that it does not attempt to use cached
authentication information.
There is no real reason to create an authentication directive using None unless
you want to override a parent directive that uses some other Authentication
Type.
Click
Submit
when URI and Authentication Type is entered to submit it.
HTTP Settings
Description