Professional Documents
Culture Documents
Apache 2
Apache 2
This will install HTTPD with support for PHP, mod_perl, mod_ssl, and mod_python. The Web Server group also contains squid and weblizer.
Run chkconfig to cause httpd to start when the system enters multiuser mode:
# /sbin/chkconfig httpd on
After changing the Apache configuration, restart httpd with the following command, which will not disturb clients connected to the server:
# /sbin/service httpd graceful
The root of the directory hierarchy that Apache serves content from is called the document root. As shipped by Red Hat, the document root is /var/www/html. You can use the DocumentRoot directive (page 796) to change the location of the document root.