Web Server Configuration

This is many releases out of date. uhttpd has been the default web server since at least Attitude Adjustment.

The /etc/config/httpd configuration file defines uci parameters for the BusyBox web server.

The configuration file consists of a single section 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
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2021/08/17 15:02
  • by stokito