Friday, January 11, 2008

Apache web server

Apache Web Server

The configuration files for Apache reside in /etc/httpd/conf. They are:
1. access.conf
2. httpd.conf
3. srm.conf

The httpd.conf file has three main sections, which are marked off by comments:
1. the global environment
2. the main server configuration
3. virtual host configurations

The server administration script for Apache is /etc/rc.d/init.d/httpd.

service httpd start
service httpd restart
service httpd stop
service httpd reload
service httpd status

Troubleshooting the Service

To check the virtual host configuration:
/usr/sbin/httpd -S

If apache-manual package as installed,can access local documentation stored in HTML format in the /home/httpd/html/manual directory.

No comments: