This translation is older than the original page and might be outdated. See what has changed.

FIXME This page is not fully translated, yet. Please help completing the translation.
(remove this paragraph once the translation is finished)

Web Server的配置

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

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

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: 2019/08/26 08:41
  • by vgaetera