Difference between revisions of "Conf/Server"
Jump to navigation
Jump to search
Line 47: | Line 47: | ||
:This is not the same as your hostname | :This is not the same as your hostname | ||
− | + | ||
− | |||
; [[Conf/Parameters/Address | address ]] | ; [[Conf/Parameters/Address | address ]] | ||
Line 66: | Line 65: | ||
− | ; [[Conf/Parameters/Port | port (HTTPS)]] | + | ; [[Conf/Parameters/Port (HTTPS) | port (HTTPS)]] |
:Port for HTTPS (typically 443) | :Port for HTTPS (typically 443) | ||
− | ; [[Conf/Parameters/Hostname | hostname (HTTPS)]] | + | ; [[Conf/Parameters/Hostname (HTTPS) | hostname (HTTPS)]] |
:his is not the same as your hostname | :his is not the same as your hostname | ||
− | ; [[Conf/Parameters/Address | address (HTTPS)]] | + | ; [[Conf/Parameters/Address (HTTPS) | address (HTTPS)]] |
:This is not the same as your host addr | :This is not the same as your host addr | ||
Line 81: | Line 80: | ||
'''Control port -- nscp''' | '''Control port -- nscp''' | ||
− | ; [[Conf/Parameters/Port | port (NSCP)]] | + | ; [[Conf/Parameters/Port (NSCP) | port (NSCP)]] |
:Control port listens on port 9999 | :Control port listens on port 9999 | ||
− | ; [[Conf/Parameters/Address | address (NSCP)]] | + | ; [[Conf/Parameters/Address (NSCP) | address (NSCP)]] |
:For security, use 127.0.0.1 only | :For security, use 127.0.0.1 only | ||
Revision as of 13:19, 21 December 2011
ns_section "ns/server/${servername}/adp"
ADP features
- map
- Extensions to parse as ADP's
- map(html)
- Any extension can be mapped
- enableexpire
- Set "Expires: now" on all ADP's
- enabledebug
- Turn on Tclpro debugging with "?debug"
- debuginit
- Debug procedure
ADP tuning
- cache (Tuning)
- In-memory cache of ADP's
- cachesize
- In-memory cache size of ADP's
- errorpage
- Pretty-print ADP errors with an ADP
- startpage
- Page to include for all ADP's
ADP custom parsers -- see adp.c
- adp
- The simple parser looks for <\% ... \%>
- fancy
- The fancy parser does a lot more.
Socket driver module (HTTP) -- nssock
- port
- Port for HTTP (typically 80)
- hostname
- This is not the same as your hostname
- address
- This is not the same as your host addr
- location
- URL for auto-redirects (trailing slash)
- maxinput
- Maximum file size for uploads in bytes, default is 1MB, new in AOLserver 4.01
- keepwait
- Max time conn is kept alive (keepalive)
- (set to 0 to disable keepalive)
Socket driver module (HTTPS) -- nsssl
- port (HTTPS)
- Port for HTTPS (typically 443)
- hostname (HTTPS)
- his is not the same as your hostname
- address (HTTPS)
- This is not the same as your host addr
Control port -- nscp
- port (NSCP)
- Control port listens on port 9999
- address (NSCP)
- For security, use 127.0.0.1 only
Control port users
- user
- sample user="nsadmin", pw="x"
Access log -- nslog
- formattedtime
- true=common log format
- logcombined
- true==NCSA combined format
- maxbackup
- Max number to keep around when rolling
- rollhour
- Time to roll log
- rolllog
- Should we roll log?
- rollonsignal
- Roll log on SIGHUP
CGI interface -- nscgi
- Debug
- Be chatty in log
- gethostbyaddr
- Whether to do reverse DNS lookups
- limit
- Max number of concurrent CGI processes
- maxoutput
- Max bytes allowed from external process
- buffersize
- Buffer output from external process
- map(GET)
- Where your CGI executables live (GET)
- map(POST)
- Where your CGI executables live (POST)
Unix domain socket driver -- nsunix
- hostname(NSUNIX)
- Hostname used in response to client
- Port(NSUNIX)
- Port to listen on
- socketfile(NSUNIX)
- UNIX domain socket driver
Virtual Hosting redirector -- nsvhr
- busyurl
- Redirect here if back-end times out
- errorurl
- Redirect here on proxy errors
- method
- Methods allowed to proxy
- method (POST)
- Methods allowed to proxy (can have >1)
- timeout
- Timeout waiting for back-end
Register hosts to proxy
- "www.tcpsocket.com"
- HTTP proxy
- "www.domainsocket.com"
- Domain socket