Apache Server Configuration

Source: Internet
Author: User

Summary : Apache is the world's most used Web server software, can be used for platforms such as Linux,unix,windows, especially for Linux support perfect

Advantages of Apache:

    • Powerful, self-contained modules that can be compiled according to requirements.
    • Simple formulation,
    • Processing static paging files is highly efficient and can be applied to large concurrent and high-load access requests.
    • Stable performance

Disadvantages of Apache:

    • Only static pages are supported, not for JSP, and for dynamic PHP.
    • In a process-based structure, a process consumes more overhead than a thread, because it is less suited to a multiprocessor environment.

Installation Environment: Cenos 6.5

Installation process: Yum-y Install httpd

Compounding: vim/etc/httpd/conf/httpd.conf

running directory for httpd

Record the httpd daemon process number

The time interval, in seconds, for the client and server.

Used to establish a permanent connection to the server, on indicates permanent, off is permanently off, default is off

Defines the maximum number of resources A TCP connection can make for HTTP requests, which works when KeepAlive is on.

Used to limit the time delay after the last request is completed in a single connection, and if this time is exceeded, the server disconnects.

The above two paragraphs are settings for the use of the Web server, Apache can be in Prefork and worker two modes, can be httpd-l to determine what kind of Apache is the mode of the

Apache Server Configuration

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.