Global server configuration

Source: Internet
Author: User
Global server configuration-Linux Enterprise Application-Linux server application information. For details, refer to the following section. Global server configuration

This document describes some commands provided by the server core to run the basic server.
Top
Server ID
Related module commands


* ServerName
* ServerAdmin
* ServerSignature
* ServerTokens
* UseCanonicalName
* UseCanonicalPhysicalPort

The ServerAdmin and ServerTokens commands control which server-related information will appear in the server-generated documents (such as error messages ). The ServerTokens command sets the value of the HTTP response header field of the server.

The ServerName, UseCanonicalName, and UseCanonicalPhysicalPort commands are used to determine how to construct a self-referenced URL. For example, a client sends a request to a directory but does not contain the last slash of the directory name "/", apache redirects the client to the full name containing "/" so that the client can correctly parse the relative references in the document.
Top
File Location
Related module commands


* CoreDumpDirectory
* DocumentRoot
* ErrorLog
* LockFile
* PidFile
* ScoreBoardFile
* ServerRoot

These commands control the location of various files required for Apache to work normally. If the path name does not start with a slash (/), the file is considered to be a relative path relative to ServerRoot. Note which files in the path are writable to non-root users, see security tips for more details.
Top
Restrict resource usage
Related module commands


* LimitRequestBody
* LimitRequestFields
* LimitRequestFieldsize
* LimitRequestLine
* RLimitCPU
* RLimitMEM
* RLimitNPROC
* ThreadStackSize

The LimitRequest * series commands are used to limit the number of resources that Apache uses to read client requests. By limiting these values, some DOS attacks can be mitigated.

The RLimit * series commands limit the number of resources used by processes derived from Apache subprocesses. Generally, these commands are used to control the resources used by CGI scripts and SSI exec commands.

The ThreadStackSize command is used to control the stack size on some platforms.

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.