The following types of information for each HTTP connection are listed in the /etc/log/httpd.log file:
To view the /etc/log/httpd.log file, complete the following steps.
| 1 | Access the /etc/log directory on the filer default volume (/vol/vol0 by default) from an NFS or CIFS client. |
| 2 | Use a text viewer or text editor to open and view the httpd.log file. |
| 3 |
The following is an example of the /etc/log/httpd.log file:
192.9.77.2 - - [26/Aug/2003:16:45:50] "GET /top.html" 200 1189
192.9.77.2 - - [26/Aug/2003:16:45:50] "GET /header.html" 200 531
192.7.15.6 - - [26/Aug/2003:16:45:51] "GET /logo.gif" 200 1763
198.9.200.2 - - [26/Aug/2003:16:45:57] "GET /task/top.html" 200 334
192.9.20.5 authuser [26/Aug/2003:16:45:57] "GET /task/head.html"
200 519
The default format of the /etc/log/httpd.log file shows the IP address of the HTTP clients and the HTTP path accessed, but not which virtual host is accessed.
To change the format of the /etc/log/httpd.log file so that it distinguishes HTTP messages by virtual hosts, complete the following step.
| 1 |
options httpd.log.format alt1 To revert the setting for log format, change this option from alt1 to the default value, common. |
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00473
File: http18.htm
Last updated: 11/25/03 18:02:58