An extra field can be stored in your logfile if you choose to run
several website with only one logfile : the virtual hostname.
In order to log requests for differents web server on the same logile, you
should specify the name of the website the request is send to. You have
two ways to include this information.
using the NECLF |
Use the %virtualhost field in your logfile format (default option) |
%host %null %login %date %hourshift %virtualhost %method %page %protocol %status %requetesize
|
www.lyot.obspm.fr - - [01/Jan/97:23:12:24 +0000] (www.obspm.fr) "GET /index.html HTTP/1.0" 200 1220
The virtual host is www.obspm.fr
|
hidden in the CLF or ECLF %page field |
virtual host are added in the request file |
www.lyot.obspm.fr - - [01/Jan/97:23:12:24 +0000] "GET /www.mac-detectors1.com/index.html HTTP/1.0" 200 1220
The virtual host is www.mac-detectors1.com
|
|