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