_______________________________________________________________________________________________________
_______________________________________________________________________________________________________
© Virtual Access 2018
GW1000 Series User Manual
Issue: 2.3
Page 40 of 463
Web: CGI profile
UCI: uhttpd.main.cgi_prefix
Opt: cgi_prefix
Defines the prefix for CGI scripts, relative to the document root.
CGI support is disabled if this option is missing.
/cgi-bin
Range
Web: N/A
UCI: uhttpd.main.lua_prefix
Opt: lua_prefix
Defines the prefix for dispatching requests to the embedded lua
interpreter, relative to the document root. Lua support is
disabled if this option is missing.
/luci
Range
Web: N/A
UCI: uhttpd.main.lua_handler
Opt: lua_handler
Specifies the lua handler script used to initialise the lua runtime
on server start.
/usr/lib/lua/luci/sgi/uhttpd.lua
Range
Web: Script timeout
UCI: uhttpd.main.script_timeout
Opt: script_timeout
Sets the maximum wait time for CGI or lua requests in seconds.
Requested executables are terminated if no output was
generated.
60
Range
Web: Network timeout
UCI: uhttpd.main.network_timeout
Opt: network_timeout
Maximum wait time for network activity. Requested executables
are terminated and connection is shut down if no network activity
occured for the specified number of seconds.
30
Range
Web: N/A
UCI: uhttpd.main.realm
Opt: realm
Defines basic authentication realm when prompting the client for
credentials (HTTP 400).
OpenWrt
Range
Web: N/A
UCI: uhttpd.main.config
Opt: config
Config file in Busybox httpd format for additional settings.
Currently only used to specify basic auth areas.
/etc/http.conf
Range
Web: N/A
UCI: uhttpd.main.index_page
Opt: index_page
Index file to use for directories, for example, add index.php when
using php.
Range
Web: N/A
UCI: httpd.main.error_page
Opt: error_page
Virtual URL of file of CGI script to handle 404 requests. Must
begin with ‘/’ (forward slash).
Range
Web: N/A
UCI: uhttpd.main.no_symlinks
Opt: no_symlinks
Does not follow symbolic links if enabled.
0
Disabled.
1
Enabled.
Web: N/A
UCI: uhttpd.main.no_dirlists
Opt: no_symlinks
Does not generate directory listings if enabled.
0
Disabled.
1
Enabled.