HP Open Source Middleware Stacks Blueprints: LAMP Architecture on HP ProLiant BladeSystem Servers on SLES

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 3.
Figure 3 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/apache2 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/apache2/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:/srv/www/htdocs/non-exist
Using Webalizer to Perform Apache HTTP Server Log Analysis
Webalizer is an analysis tool that you can use to generate detailed usage reports using the
information recorded in the Apache HTTP Server logs. Webalizer provides easy-to-read reports
in HTML format that you can customize for your needs.
Use the following procedure to set up Webalizer:
Installing, Configuring, and Managing LAMP Middleware Stack Components 13