apache2nwconf

Langue: en

Version: February 2003 (ubuntu - 07/07/09)

Section: 1 (Commandes utilisateur)

NAME

apache2nwconf - converts apache's configuration to nanoweb format

SYNOPSIS

apache2nwconf [ /etc/apache/httpd.conf ]

apache2nwconf [ -a ]

DESCRIPTION

Use this util to autoconvert the VirtualHost sections from the Apache http server configuration file (httpd.conf) to the format used by the Nanoweb http server.

The converted configuration directives are written to stdout, so you need to redirect that on the shell:

apache2nwconf -a > /etc/nanoweb/vhosts.conf

NOTES

This tool is written in the PHP language as well, and you can tweak how much it converts from the original apache httpd.conf with some changes inside the script. It is not always desirable to copy all Apache settings to Nanoweb, and you should check the content of the resulting file before starting Nanoweb.

SEE ALSO

nanoweb.conf(5)