Difference between revisions of "Conf"

From AOLserver Wiki
Jump to navigation Jump to search
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 ===
+
= Config Sections =
  
 +
* [[Conf/Parameters|Global Parameters]] ns/parameters
 +
* [[Conf/Threads|Thread Library]] ns/threads
 +
* [[Conf/Mimetypes|MIME types]] ns/mimetypes
 +
* [[Conf/Db|Database Drivers]] ns/db/drivers
 +
* [[Conf/Servers|Servers]] ns/servers
 +
== Config for each Virtual Server ==
 +
Each "server" is a container or "virtual server"
 +
* [[Conf/Server|Server Config]] ns/server/${servername}
  
* [[Conf/Parameters|Global Parameters]]
+
* [[Conf/Server/Redirects|Redirects]]
ns/parameters
+
* [[Conf/Server/FastPath|Fastpath]] - cache static files
* [[Conf/Threads|Thread Library]]
+
* [[Conf/Server/Tcl|Tcl Library]] - Private Tcl Library
ns/threads
+
* [[Conf/Server/Adp|ADP Config]]
* [[Conf/Mimetypes|MIME types]]
+
* [[Conf/Server/Modules|Modules to Load]]
ns/mimetypes
+
== Modules Config ==
* [[Conf/Servers|Servers]]
+
* [[Conf/Server/Module/nssock|nssock]] HTTP Module
ns/servers
+
* [[Conf/Server/Module/nscp| nscp]] Control Port Module
* [[Conf/Server|Server Config]]
+
* [[Conf/Server/Module/nslog|nslog]] Access Log Module
ns/server/foo
+
* [[Conf/Server/Module/nscgi|nscgi]] CGI Module
 
+
* [[Conf/Server/Module/nsperm|nsperm]] Simple Permission Module
ns/server/bar
+
* [[Conf/Server/Module/nsunix|nsunix]] Unix Domain Socket Module
 
+
* [[Conf/Server/Module/nsvhr|nsvhr]] Reverse Proxy Module
The word "server" here is confusing. Think of it as a container for configuring something akin to a Virtual Server in Apache.
 
 
 
* [[Conf/Db|Database Drivers]]
 
ns/db/drivers
 

Revision as of 22:10, 21 December 2011

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.

Config Sections

Config for each Virtual Server

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

Modules Config