Lantronix X300 Series X300 Series User Guide Rev B - Page 124

Full Web Server Settings, Realm for Basic Auth

Page 124 highlights

10: Services Parameters Description Full Web Server Settings Index page(s) Enter the index file to use for directories. Usually index.html or index.php. CGI filetype handler Enter the interpreter to associate with file endings in the cgi scripts directory. Do not follow symlinks outside If selected, the HTTP/HTTPS server will not follow symbolic links document root outside the document root. Do not generate directory listings If selected, the HTTP/HTTPS server will not generate directory listings. Aliases Maps URL to filesystem locations outside the document root. The format should be /old/path=/new/path Realm for Basic Auth Enter the realm for basic authentication when prompting the client for credentials. The default is "Lantronix", which is the local hostname. Config file (e.g. for credentials for Basic Auth) Enter the path of the configuration file for credentials for basic authentication and additional settings. The server will not use HTTP authentication if this field is blank. 404 Error Enter the virtual URL of file or CGI script to handle 404 (file not found) request. It must begin with a forward slash '/'. Advanced Settings Document root Enter the directory path to the server document root. By default the document root is /www. Path prefix for CGI scripts Enter the prefix for CGI scripts, relative to the document root. Leave it blank to disable CGI support. Virtual path prefix for Lua scripts Enter the prefix for sending requests to the embedded Lua interpreter, relative to the document root. Leave it blank to disable Lua support. Full real path to handler for Lua Enter the full path to the Lua handler script to initialize Lua runtime on scripts server start. This field is required if Lua prefix is given, otherwise it's optional. Virtual path prefix for ubus via Enter the URL prefix for ubus via JSON-RPC handler, relative to the JSON-RPC integration document root. Leave it blank to disable UBUS. Override path for ubus socket Enter the override ubus socket path Enable JSON-RPC Cross-Origin Select to enable CORS HTTP headers on JSON-RPC API. Resource Support By default, this setting is disabled. Disable JSON-RPC authorization via ubus session API If selected, do not authenticate JSON-RPC requests against the UBUS session API. By default the requests are authenticated. Maximum wait time for Lua, CGI, Enter the maximum wait time for CGI, Lua or ubus requests in seconds. or ubus execution If no output is generated within the timeout period, the requested executables are terminated. Default is 60 seconds. Maximum wait time for network activity Enter the maximum wait time for network activity. If no network activity occurs within the timeout period, the requested executables are terminated and the connection is shut down. Default is 30 seconds. Connection reuse Sets the time limit for connection reuse. X300 Series IoT Cellular Gateway User Guide 124

  • 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
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216

10: Services
X300 Series IoT Cellular Gateway User Guide
124
Full Web Server Settings
Index page(s)
Enter the index file to use for directories. Usually index.html or
index.php.
CGI filetype handler
Enter the interpreter to associate with file endings in the cgi scripts
directory.
Do not follow symlinks outside
document root
If selected, the HTTP/HTTPS server will not follow symbolic links
outside the document root.
Do not generate directory
listings
If selected, the HTTP/HTTPS server will not generate directory listings.
Aliases
Maps URL to filesystem locations outside the document root.
The format should be /old/path=/new/path
Realm for Basic Auth
Enter the realm for basic authentication when prompting the client for
credentials.
The default is "Lantronix", which is the local hostname.
Config file (e.g. for credentials
for Basic Auth)
Enter the path of the configuration file for credentials for basic
authentication and additional settings.
The server will not use HTTP authentication if this field is blank.
404 Error
Enter the virtual URL of file or CGI script to handle 404 (file not found)
request. It must begin with a forward slash '/'.
Advanced Settings
Document root
Enter the directory path to the server document root. By default the
document root is /www.
Path prefix for CGI scripts
Enter the prefix for CGI scripts, relative to the document root. Leave it
blank to disable CGI support.
Virtual path prefix for Lua
scripts
Enter the prefix for sending requests to the embedded Lua interpreter,
relative to the document root. Leave it blank to disable Lua support.
Full real path to handler for Lua
scripts
Enter the full path to the Lua handler script to initialize Lua runtime on
server start. This field is required if Lua prefix is given, otherwise it's
optional.
Virtual path prefix for ubus via
JSON-RPC integration
Enter the URL prefix for ubus via JSON-RPC handler, relative to the
document root. Leave it blank to disable UBUS.
Override path for ubus socket
Enter the override ubus socket path
Enable JSON-RPC Cross-Origin
Resource Support
Select to enable CORS HTTP headers on JSON-RPC API.
By default, this setting is disabled.
Disable JSON-RPC
authorization via ubus session
API
If selected, do not authenticate JSON-RPC requests against the UBUS
session API.
By default the requests are authenticated.
Maximum wait time for Lua, CGI,
or ubus execution
Enter the maximum wait time for CGI, Lua or ubus requests in seconds.
If no output is generated within the timeout period, the requested
executables are terminated.
Default is 60 seconds.
Maximum wait time for network
activity
Enter the maximum wait time for network activity. If no network activity
occurs within the timeout period, the requested executables are
terminated and the connection is shut down.
Default is 30 seconds.
Connection reuse
Sets the time limit for connection reuse.
Parameters
Description