The construction of the HTTP service and the configuration file of the Linux learning path

Source: Internet
Author: User

Construction of HTTP

HTTP is an open source software and is generally used as a Web server. Currently the most popular Web server software is called Apache, so Apache is just a software, he is not a Web server. But what we generally call Apache is a Web server made of this software.

The Web server is built with the required software:

Httpd.i386 and Httpd-manual.i386

The httpd.i386 is the software needed to build the Web server, and the other httpd-manual.i386 is the command manual for installing httpd, which can be used to query the httpd parameters without the network condition.

HTTPD currently has multiple versions, the latest is 2.4, the stable version is 2.2, and the earlier version 2.0

After the HTTPD software is installed, multiple files are generated automatically. These files are:

Script files for/ETC/RC.D/INIT.D/HTTPD:HTTPD services;

The working root directory of the/ETC/HTTPD:HTTPD service, equivalent to the program installation directory

/ETC/HTTPD/CONF:HTTPD Configuration file Directory

Where the main configuration file is:./httpd.conf

The configuration file also includes these files:/etc/httpd/conf.d/*.conf

/ETC/HTTPD/MODULES:HTTPD the directory location of the required modules

/ETC/HTTPD/LOGS:HTTPD log directory, this directory is linked to/var/log/httpd this directory

There are two types of log files:

The Access log is:./access_log

The error log is:./err_log

/var/www/: The directory where the pages are stored

This article from the "Linux Learning Path" blog, declined reprint!

The construction of the HTTP service and the configuration file of the Linux learning path

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.