Difference between revisions of "Conf"

From AOLserver Wiki
Jump to navigation Jump to search
(Created page with '= AOLServer Config Reference = The AOLserver config file has sections for global configuration of the instance and sections for each "server". One AOLserver instance may have on…')
 
 
(4 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
The config file is a Tcl file so we can set variables use commands including most of the built in ns_ commands.
 
The config file is a Tcl file so we can set variables use commands including most of the built in ns_ commands.
  
Config Sections
+
'''''See also [[Conf/Examples |Example Configuration Files]]'''''
  
 +
== Global ==
  
* Global Parameters
+
* [[Conf/Parameters|Global Parameters]] ns/parameters
ns/parameters
+
* [[Conf/Threads|Thread Library]] ns/threads
* Thread Library
+
* [[Conf/Mimetypes|MIME types]] ns/mimetypes
ns/threads
+
* [[Conf/Db|Database Drivers]] ns/db/drivers
* MIME types
+
* [[Conf/Servers|Servers]] ns/servers
ns/mimetypes
+
== Config for each Virtual Server ==
* Servers
+
Each "server" is a container or "virtual server"
ns/servers
+
* [[Conf/Server|Server Config]] ns/server/${servername}
* Server Config
 
ns/server/foo
 
  
ns/server/bar
+
* [[Conf/Server/Redirects|Redirects]]
 
+
* [[Conf/Server/FastPath|Fastpath]] - cache static files
The word "server" here is confusing. Think of it as a container for configuring something akin to a Virtual Server in Apache.
+
* [[Conf/Server/Tcl|Tcl Library]] - Private Tcl Library
 
+
* [[Conf/Server/Adp|ADP Config]]
* Database Drivers
+
* [[Conf/Server/Modules|Modules to Load]]
ns/db/drivers
+
== Modules Config ==
 +
* [[Conf/Server/Module/nssock|nssock]] HTTP Module
 +
* [[Conf/Server/Module/nscp| nscp]] Control Port Module
 +
* [[Conf/Server/Module/nslog|nslog]] Access Log Module
 +
* [[Conf/Server/Module/nscgi|nscgi]] CGI Module
 +
* [[Conf/Server/Module/nsperm|nsperm]] Simple Permission Module
 +
* [[Conf/Server/Module/nsunix|nsunix]] Unix Domain Socket Module
 +
* [[Conf/Server/Module/nsvhr|nsvhr]] Reverse Proxy Module

Latest revision as of 09:30, 5 January 2012

AOLServer Config Reference

The AOLserver config file has sections for global configuration of the instance and sections for each "server". One AOLserver instance may have one or more "server" sections; but normally just one.

The config file is a Tcl file so we can set variables use commands including most of the built in ns_ commands.

See also Example Configuration Files

Global

Config for each Virtual Server

Each "server" is a container or "virtual server"

Modules Config