I'am running
Win 2003
Apache 2.0.53
I'am pulling my virtual hosts from a vhost.map file. My Virtual Host
configuration within httpd.conf looks like this.
RewriteEngine on
RewriteMap lowercase int:tolower
RewriteMap vhost txt:E:\apache\Apache2\conf\vhost.map
RewriteCond %{HTTP_HOST} ^(www\.)?([^.]+\.com)$
RewriteCond ${lowercase:%2} ^(.+)$
RewriteCond ${vhost:%1} ^(/.*)$
RewriteRule ^/(.*)$ %1/$1
LogFormat "%V %{TYPE}e %h %l %u %t \"%r\" %>s %b" vhostspecial
CustomLog "e:/webspace/logs/vhost.log" vhostspecial
Is there a way to split the main vhost.log into not only seperate
files but seperate directories based on the virtual host name?
I have tried using the apache split-logfile.in and it just splits the
log into seperate logfiles based on the domain name, not directories.
When I run split-logfile.in it also gives me a seperate log file for
domain.com and www.domain.com. Is there a way for those to be
combined?
Thanks,
Anthony - [EMAIL PROTECTED]
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]