Compaq ProLiant 1000 Installation and Configuration Guide for Linux and Apache - Page 15

Apache Server Overview

Page 15 highlights

,QVWDOODWLRQ DQG &RQILJXUDWLRQ *XLGH IRU /LQX[ DQG $SDFKH :HE 6HUYHU RQ &RPSDT 3URVLJQLD DQG 3UR/LDQW 6HUYHUV 48 Apache Server Overview The Apache web server has been well documented by the Apache Server Project and the various distribution vendors. In addition, several other sites within the Linux community have provided additional insights into the operations and management of the Apache web server. The man pages for httpd are also helpful. This guide is not intended to improve upon the information already publicly available. This section provides a brief overview of the Apache web server with summary information for the various distributions, along with links to the various sites that document the Apache server more thoroughly. Each of the three Linux distributions discussed in this guide includes the Apache web server and in every case, the three basic configuration files control how the server runs. In each of these cases, the description is quoted from the comments included in their respective files for a Red Hat distribution: x httpd.conf - general server-wide configuration x srm.conf - sets up the user name-space parameters and also how the requests are serviced and responses formatted x access.conf - sets up what type of services are allowed and under what circumstances Although every distribution includes the Apache web server, each distribution sets it up in a different location. Table 8 documents the location of the default storage configuration and the content files for each distribution. Table 10. Default Locations for HTTPD Configuration and Log Files Distribution Caldera Systems OpenLinux 1.3 Red Hat Linux 5.2 SuSE Linux 5.3 and 6.0 Default Configuration File Location Default Log File Location Default Static Content Location /etc/httpd/apache/ /var/log/httpd/apache /home/httpd/html conf /etc/httpd/conf /var/log/httpd /home/httpd/html /etc/httpd /var/log /usr/local/httpd/htdocs Default Dynamic (CGI) Content Location /home/httpd/cgi -bin /home/httpd/cgi -bin /usr/local/httpd/ cgi-bin ECG513/0399

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40

,QVWDOODWLRQ DQG &RQILJXUDWLRQ *XLGH IRU /LQX[ DQG $SDFKH :HE 6HUYHU RQ &RPSDT 3URVLJQLD DQG 3UR/LDQW 6HUYHUV
48
ECG513/0399
Apache Server Overview
The Apache web server has been well documented by the Apache Server Project and the various
distribution vendors. In addition, several other sites within the Linux community have provided
additional insights into the operations and management of the Apache web server. The man pages
for httpd are also helpful. This guide is not intended to improve upon the information already
publicly available.
This section provides a brief overview of the Apache web server with summary information for
the various distributions, along with links to the various sites that document the Apache server
more thoroughly.
Each of the three Linux distributions discussed in this guide includes the Apache web server and
in every case, the three basic configuration files control how the server runs. In each of these
cases, the description is quoted from the comments included in their respective files for a Red Hat
distribution:
x
httpd.conf – general server-wide configuration
x
srm.conf – sets up the user name-space parameters and also how the requests are serviced and
responses formatted
x
access.conf – sets up what type of services are allowed and under what circumstances
Although every distribution includes the Apache web server, each distribution sets it up in a
different location. Table 8 documents the location of the default storage configuration and the
content files for each distribution.
Table 10. Default Locations for HTTPD Configuration and Log Files
Distribution
Default
Configuration
File Location
Default Log File
Location
Default Static
Content Location
Default
Dynamic (CGI)
Content
Location
Caldera Systems
OpenLinux 1.3
/etc/httpd/apache/
conf
/var/log/httpd/apache
/home/httpd/html
/home/httpd/cgi
-bin
Red Hat Linux 5.2
/etc/httpd/conf
/var/log/httpd
/home/httpd/html
/home/httpd/cgi
-bin
SuSE Linux 5.3
and 6.0
/etc/httpd
/var/log
/usr/local/httpd/htdocs
/usr/local/httpd/
cgi-bin