Library Table of Contents Index Previous Next Comments

Viewing HTTP connection information

Types of HTTP connection information  Top

The following types of information for each HTTP connection are listed in the /etc/log/httpd.log file:

Viewing the /etc/log/httpd.log file  Top

To view the /etc/log/httpd.log file, complete the following step.

Step

Action

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

Close the log file when you are finished viewing it.

Example  Top

The following is an example of the /etc/log/httpd.log file:

192.9.77.2  - - [26/Aug/1996:16:45:50] "GET /top.html" 200 1189
192.9.77.2  - - [26/Aug/1996:16:45:50] "GET /header.html" 200 531
192.7.15.6  - - [26/Aug/1996:16:45:51] "GET /logo.gif" 200 1763
198.9.200.2 - - [26/Aug/1996:16:45:57] "GET /task/top.html" 200 334
192.9.20.5  authuser [26/Aug/1996:16:45:57] "GET /task/head.html"
200 519

Changing the /etc/log/httpd.log file format  Top

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.

Step

Action

1

Enter the following command:

options httpd.log.format alt1

Library Table of Contents Index Previous Next Comments