HP Open Source Middleware Stacks Blueprint: LAMP Architecture on HP ProLiant BladeSystem Servers on RHEL
2. Restart the Apache HTTP Server for the changes to take effect.
Use the following procedure to verify the server status and display the server information
web page:
1. Verify the server status by opening a browser and entering the following URL:
http://<YOUR_WEB_SERVER_IP>/server-status
2. Display the server information web page by opening a browser and entering the
following website:
http://<YOUR_WEB_SERVER_IP>/server-info
The Apache Server Information web page opens, as shown in Figure 2.
Figure 2 Apache Server Information
Apache HTTP Server Log
The Apache HTTP Server provides a detailed and flexible information-logging mechanism. The
two most important log files are the error and access logs. The default location for the Apache
HTTP Server log files is the /var/log/httpd directory.
Using the Error Log to Diagnose the Apache HTTP Server
The Apache HTTP Server records diagnostic information and all errors encountered while
processing requests to error_log file.
For example, if you visit a nonexistent URL, the following 404 error is generated:
The requested URL /non-exist/ was not found on this server.
All error information is recorded in the default error log file, which you can obtain by entering
the following command:
# tail –f /var/log/httpd/error_log
The following message is added to the end of the file:
< Fri Jul 18 11:28:41 2008 > <error> <client 10.100.0.22> File does not exist:/var/www/html/non-exist
12