Lantronix XPort Pro LX6 xPort Pro Lx6 - User Guide - Page 46

To Con HTTP Settings, Using Web Manager, Using the CLI, Using XML, To Con HTTP

Page 46 highlights

9: Services Settings HTTP Settings (continued) 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 Digest. After this period of inactivity, the client must authenticate again. To Configure HTTP Settings Using Web Manager  To configure HTTP settings, click HTTP in the menu and select Configuration.  To view HTTP statistics, click HTTP in the menu and select Statistics. Using the CLI  To enter the HTTP command level: enable -> config -> http Using XML  Include in your file: Table 9-5 HTTP Authentication Settings HTTP Authentication Description Settings URI Enter the Uniform Resource Identifier (URI). Note: The URI must begin with '/' to refer to the filesystem. Auth Type Select the authentication type:  None: no authentication is necessary.  Basic: encodes passwords using Base64.  Digest : encodes passwords using MD5. To Configure HTTP Authentication Using Web Manager  To configure HTTP Authentication, click HTTP in the menu and select Authentication. XPort® Pro Lx6 Embedded Device Server User Guide 46

  • 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

9: Services Settings
XPort® Pro Lx6 Embedded Device Server User Guide
46
To Configure HTTP Settings
Using Web Manager
To configure HTTP settings, click
HTTP
in the menu and select
Configuration
.
To view HTTP statistics, click
HTTP
in the menu and select
Statistics
.
Using the CLI
To enter the HTTP command level:
enable -> config -> http
Using XML
Include in your file:
<configgroup name=”http server”>
Table 9-5
HTTP Authentication Settings
To Configure HTTP Authentication
Using Web Manager
To configure HTTP Authentication, click
HTTP
in the menu and select
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
Digest
.
After
this period of inactivity, the client must authenticate again.
HTTP Authentication
Settings
Description
URI
Enter the Uniform Resource Identifier (URI).
Note:
The URI must begin with ‘/’ to refer to the filesystem.
Auth Type
Select the authentication type:
None
: no authentication is necessary.
Basic
: encodes passwords using Base64.
Digest
: encodes passwords using MD5.
HTTP Settings (continued)
Description