Anti-Web 3 Manual
~~~~~~~~~~~~~~~~~

[*] Introduction
~~~~~~~~~~~~~~~~

Anti-Web is a light-weight, single-process, non-threaded webserver that
emphasizes simplicity, efficiency, and security.

AW 3 is the result of a rewrite of the webserver's internals and represents
much thought, effort, and careful design by the AW team.

Your rights to use, distribute, and modify AW are protected by the
GNU GPL license. Please see the file COPYING for more details.



[*] Conf file
~~~~~~~~~~~~~

The AW3 conf file should reside in the root of the AW directory and be called
"awhttpd.conf". It specifies various configuration settings that we feel are
best left as runtime configuration - as opposed to AW2's compile time configuration.

Here is a list of the possible lines in the conf file:

listen/listen6 <port>
   Makes AW listen on the specified port. Multiple "listen lines" can
   be given to make AW listen on multiple ports. listen6 is identical
   except it listens on an ipv6 port (if AW was compiled with ipv6).


maxusers <number>
   Specifies the maximum amount of simultaneous connections to allow
   on the server.


usertimeout <number>
   Specifies the number of seconds AW should wait before timing out
   an idle user.


initialslots <number>
   Specifies how many initial connection slots to allocate memory for.
   AW will automatically expand its memory usage to accomodate users
   up to maxusers.


<directorylisting|cgi> <on|off>
   Specifies whether AW will enable or disable directory listings and
   cgi, respectively.


cgiext <extension>
   Specifies extensions for files to be treated as CGI scripts.
   Multiple lines may be specified in order to have multiple types of
   CGI scripts.


addindex <file>
   Specifies filenames AW should try to use as index files in the event
   a user specifies a directory. Multiple lines may be specified in order
   to look for multiple index files. The *LAST* one specified is the
   *FIRST* one searched for.


permcheck <on|off>
   Specifies whether AW will check the HTML tree for sane permissions
   or not.

 
dropto <user>
   If possible, AW will drop privileges to the specified user.


quote "<quote>"
    A cool quote that is displayed in various places.




[*] Scripting
~~~~~~~~~~~~~

Please see the file "SCRIPTING" for more details.
