Table of Contents

Web Server Configuration

The httpd configuration file defines uci parameters for the web server. For a exhaustive list, please see BusyBox.

Sections

The configuration file consists of a single section httpd.

Httpd

This is the default configuration for this section:

config 'httpd' option 'port' '80' option 'home' '/www'

The httpd section contains these settings:

Name Type Required Default Description
c_file string no /etc/httpd.conf Path to configuration file.
home string no /www Path to the document root directory.
port integer no 80 Port number the web server should listen on.
realm string no hostname Authentication realm to be presented to clients when authentication is required. The default is the value of system.@system[0].hostname

Back to top

doc/uci/httpd.txt · Last modified: 2011/09/18 23:46 by written_direcon