User manual

22: Configuring HTTP server
_______________________________________________________________________________________________________
document root. Lua support is
disabled if this option is missing.
lua_handler file path
yes if
lua_
prefix is
given,
else no
(none)
Specifies Lua handler script used
to initialize the Lua runtime on
server start.
script_timeout integer no 60
Sets maximum wait time for CGI
or Lua requests in seconds.
Requested executables are
terminated if no output was
generated until the timeout
expired.
network_timeout integer no 30
Sets maximum wait time for
network activity. Requested
executables are terminated and
connection is shut down if no
network activity occurred for the
specified number of seconds.
realm string no
local
hostname
Defines basic authentication realm
when prompting the client for
credentials (HTTP 400).
config file path no
/etc/
httpd.conf
Config file in Busybox httpd format
for additional settings (currently
only used to specify Basic Auth
areas).
index_page file name no
index.html,
index.htm,
default.html,
default.htm
Index file to use for directories,
e.g. add index.php when using
php.
error_page string no (none)
Virtual URL of file or CGI script to
handle 404 request. Must begin
with '/'
no_symlinks boolean no 0
Do not follow symbolic links if
enabled.
no_dirlists boolean no 0
Do not generate directory listings
if enabled.
Multiple sections of the type uhttpd may exist - the init script will launch one
webserver instance per section.
A standard uhttpd configuration is shown below.
_______________________________________________________________________________________________________
© Virtual Access 2015
GW1000 Series User Manual
Issue: 2.4 Page 149 of 255