Apache Reference Manual (one) _php tutorial

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'll contain the subdirectories Conf/and logs/. Relative paths for other configuration files is taken as Relative to the This directory.
See also the-d option to httpd.
See also, the security tips for information on what 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 are would want to enable such a footer line are that in a chain of proxies, the user often have no possibilit Y 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 are sent back to clients includes a description of the G Eneric Os-type of the server as well as information about compiled-in modules.

http://www.bkjia.com/PHPjc/629580.html www.bkjia.com true http://www.bkjia.com/PHPjc/629580.html techarticle serverroot directive syntax:serverroot directory-filename Default:serverroot/usr/local/apache Context:server Config Status:core the serverroot directive sets the directory in W ...

  • Related Article

    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.