httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Gingras <francois.ging...@gmail.com>
Subject Re: [users@httpd] vhost multiple error logs
Date Wed, 03 Mar 2010 01:13:15 GMT
On 02/03/2010 8:02 PM, Greg Cole wrote:
> 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
> </VirtualHost>
>
> I have 11 host names and really only wish to have one VirtualHost section.
>
> Thanks,
> Greg
>
>
> ---------------------------------------------------------------------
> 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: users-unsubscribe@httpd.apache.org
>     "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>    
Greg,

You can, use you use traditional name-based vhosts, yes. Besides, you 
don't need VirtualDocumentRoot for 11 vhosts.

Frank.

---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message