httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthony G <>
Subject [users@httpd] Seperating Logs with mass virtual hosting
Date Wed, 29 Jun 2005 23:31:22 GMT
I'am running 

Win 2003
Apache 2.0.53

I'am pulling my virtual hosts from a file. My Virtual Host
configuration within httpd.conf looks like this.

RewriteEngine on
RewriteMap lowercase int:tolower
RewriteMap vhost txt:E:\apache\Apache2\conf\
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 and it just splits the
log into seperate logfiles based on the domain name, not directories.

When I run it also gives me a seperate log file for and  Is there a way for those to be

Anthony -

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message