Re: [us...@httpd] vhost multiple error logs

2010-03-02 Thread Eric Covener
On Tue, Mar 2, 2010 at 8:52 PM, Greg Cole wrote: > > So how can I get a unique, dynamically named error log for each host? > Something like www.vhost1.org.error_log, www.vhost2.org.error_log,... All the > while keeping this in one vhost section. You can't, because apache opens logfiles at star

Re: [us...@httpd] vhost multiple error logs

2010-03-02 Thread Greg Cole
> 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 >> >> >> VirtualDocumentRoot /Library/WebServer/Documents/%-3 >> ErrorLog logs/$HOSTNAME.error_log >> >> >> I have 11 host

Re: [us...@httpd] vhost multiple error logs

2010-03-02 Thread Frank Gingras
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 VirtualDocumentRoot /Library/WebServer/Documents/%-3 ErrorLog logs/$HOSTNAME.error_log I have 11 host names and really only wish to hav

[us...@httpd] vhost multiple error logs

2010-03-02 Thread Greg Cole
How can I have multiple error logs based on virtual host names? something like this? NameVirtualHost *: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. Thanks, Greg -