您好,欢迎访问一九零五行业门户网

Apache Reference Manual (11)_PHP教程

serverroot directive
syntax: serverroot directory-filename
default: serverroot /usr/local/apache
context: server config
status: core
the serverroot directive sets the directory in which the server lives. typically it will contain the subdirectories conf/ and logs/. relative paths for other configuration files are taken as relative to this directory.
see also the -d option to httpd.
see also the security tips for information on how to properly set permissions on the serverroot.
--------------------------------------------------------------------------------
serversignature directive
syntax: serversignature off | on | email
default: serversignature off
context: server config, virtual host, directory, .htaccess
status: core
compatibility: serversignature is only available in apache 1.3 and later.
the serversignature directive allows the configuration of a trailing footer line under server-generated documents (error messages, mod_proxy ftp directory listings, mod_info output, ...). the reason why you would want to enable such a footer line is that in a chain of proxies, the user often has no possibility to tell which of the chained servers actually produced a returned error message.
the off setting, which is the default, suppresses the error line (and is therefore compatible with the behavior of apache-1.2 and below). the on setting simply adds a line with the server version number and servername of the serving virtual host, and the email setting additionally creates a mailto: reference to the serveradmin of the referenced document.
--------------------------------------------------------------------------------
servertokens directive
syntax: servertokens minimal|os|full
default: servertokens full
context: server config
status: core
compatibility: servertokens is only available in apache 1.3 and later
this directive controls whether server response header field which is sent back to clients includes a description of the generic os-type of the server as well as information about compiled-in modules.
http://www.bkjia.com/phpjc/629580.htmlwww.bkjia.comtruehttp://www.bkjia.com/phpjc/629580.htmltecharticleserverroot directive syntax: serverroot directory-filename default: serverroot /usr/local/apache context: server config status: core the serverroot directive sets the directory in w...
其它类似信息

推荐信息