Apache Reference Manual (11)

Source: Internet
Author: User
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 would contain the subdirectories Conf/and logs/. Relative paths for the other configuration files are taken as relative to this directory.
Also the-d option to httpd.
Also the security tips for information on the "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 M Essages, mod_proxy FTP directory listings, mod_info output, ...). The reason why you would want to enable such a footer line are that in a chain of proxies, the user often has no possibilit Y to tell which of the chained servers actually produced a returned an error message.
The off setting, which are the default, suppresses the error line (and are 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 are sent back to clients includes a description of the G Eneric Os-type of the "server as" information about compiled-in modules.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.