Java Mailing List Archive

http://www.apache-httpd.com/

Home » modperl.perl »

Separate Error log for each virtual host

fREW Schmidt

2009-01-16

Replies: Find Java Web Hosting

Author LoginPost Reply
I would like to configure apache such that the errors for a specific virtual host get logged in their own file.  I tried something like this:

<VirtualHost *:8080>
   ErrorLog "C:/location/of/acd/logs/error.log"
   <Perl>
      use lib 'C:/location/of/acd';
      $ENV{MODE} = 'development';
   </Perl>
    ScriptAlias / "C:/locattion/of/acd"
   <Location  />
      SetHandler perl-script
      PerlHandler ACD::Dispatch
       Order allow,deny
       Allow from all
   </Location>
</VirtualHost>

But it seems to be ignoring my ErrorLog directive and still puts the logs in the regular place. What am I doing wrong?
--

-fREW
©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.