[NANOWEB DOCUMENTATION]

NANOWEB, the aEGiS PHP web server

nanoweb Modules

The configuration files of nanoweb reside in /etc/nanoweb/; there you'll find modules.conf containing lots of LoadModule directives registering extension modules to the server core. If you want to have another overview of supported features, have a look at the page with all available configuration directives.

core modules
following modules are essential parts of nanoweb and thus must always be loaded:
mod_static core This module makes standard files from the docroot accessible to nanoweb through the internal "parser" interface.
mod_fb core FileBrowser. Without this module you wouldn't get those fancy directory listings, which is probably the most heavily used nanoweb extension.
mod_pfilters core Filters are an extension to the internal "parser" representation of all files and content served by nanoweb. If this module isn't loaded, you probably run into trouble with some other extensions.
mod_ac core The Access Control module allows to restrict access to the webserver to only some hosts, or to deny access only for some of them.

standard modules
mod_cgi standard CGI Parsing Module. You can register any script language interpreter (PHP, Perl, Python, AWK, Ruby, Shell, JavaScript, ...) with the ParseExt directive to let the according files be processed by this module.
mod_include standard Server Side Includes support (therefore formerly called mod_ssi)
mod_gzip standard GZIP Content Encoding support
This module tries to compress all your files on the fly with the gzip encoding, which is understood by all recent browsers.
mod_status standard online server status reports
mod_mispell standard Mispelled URL correction support allows to select the correct file if a user request had some typos. A redirect or a notice can be send back.
mod_auth_simple standard authentication with user names and passwords given in one of the configuration files (.nwaccess files most probably)
mod_auth_htpasswd optional enables to use the authentication files from the apache webserver
mod_auth_nwauth optional Nanoweb authentication files look pretty much like the apache-style password-login files.
mod_auth_mysql optional This authentication module allows you to use an already existing database with a table of user/password pairs to restrict access to directories/areas of your webserver.
mod_auth_pgsql optional likewise for PostgreSQL
mod_auth_ldap optional Authentication information (login names and passwords) can also be accessed via LDAP using this module.
mod_proxy optional Proxy Server inside nanoweb.
The Proxy server implemented by this module is primarily a caching one (but introduces many filtering mechanisms as well), which means that it can speed up http requests if all computers of your local network are configured to request pages through nanoweb/mod_proxy.
mod_dosevasive optional Prevents your server from going down due to attacks following the ğDenial of ServiceĞ routine.
mod_multiviews optional MultiViews enables nanoweb to perform transparent content negotiation with or without support from the requesting browser.
mod_meta optional Reads .html files and makes the content of <META HTTP-EQUIV> tags available as usual http response headers (for use by other extension modules as well).
mod_fcgi optional FastCGI support.
mod_mysqllog optional Log is written into a MySQL database.
mod_stdlog optional Writes log to stdout (console).
mod_rewrite optional RewriteEngine (powerful URI to filename mapping) allows you to introduce a very flexible virtual directory layer.
mod_load_limit contrib Stops nanoweb from serving pages if the load average gets too high.
mod_method_PUT contrib Adds support for the "PUT" request method, which is used by some clients to upload files (something like FTP over HTTP).
mod_method_handler contrib Allows to use CGI's to extend nanoweb with non-standard (user defined, experimental or other extension protocol) http request methods.
mod_access_rbl contrib RBL checks (see mail-abuse.org/rbl)
mod_bsp contrib Brainfuck Server Pages
mod_asis contrib Support for apache-style .asis files, which carry http headers before the actual content.
mod_libphp (useless) contrib guessworking internal PHP support module
mod_worms contrib Module that warns you about attacks targeting to scripting bugs regularily found in IIS (no problem with nanoweb usually),
but please refer to the README on mod_worms.
mod_fb2 contrib Alternative filebrowser module (lists directory contents, when no "index.html" is there). This one is more icon centric than the recommended mod_fb.
theme_template contrib Allows you to apply a customized page layout for server-generated messages. Themes are currently used by mod_fb2 only.



NANOWEB, the aEGiS PHP web server

Index