httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Cole <>
Subject [users@httpd] vhost multiple error logs
Date Wed, 03 Mar 2010 01:02:01 GMT
How can I have multiple error logs based on virtual host names?

something like this?

NameVirtualHost *:80

<VirtualHost *:80>
    VirtualDocumentRoot /Library/WebServer/Documents/%-3
    ErrorLog logs/$HOSTNAME.error_log

I have 11 host names and really only wish to have one VirtualHost section.


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