Hi Andre,

I believe this would be easier handled at the application server /
application level than trying to get Apache to direct error logs based
on URLs.

Unless of course you can create two VirualHost entries in which case
you can redirect the logs to different locations.

On Tue, Oct 13, 2009 at 11:35 PM, Andre Rodrigues
<acastanheira2...@yahoo.com.br> wrote:
> Hi,
>
> I´ve configured a virtualhost like this:
>
> <VirtualHost *:443>
>
> ServerName portal
>
> # SSL config
>
> ....
>
> JkMount /app dmb
>
> JkMount /app2 dmb
>
> Errorlog /var/log/apache2/app-error_log
>
> </VirtualHost>
>
> If user types http://portal/app the Errorlog would be "Errorlog 
> /var/log/apache2/app-error_log".
> OR
> If user type http://portal/app2 the Errorlog would be "Errorlog 
> /var/log/apache2/app2-error_log".
>
>
> How to config the Errorlog directive in order to have application´s specific 
> logs?
>
>
> Thanks,
> André
>
>
>
>
>
> ---------------------------------------------------------------------
> 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-unsubscr...@httpd.apache.org
>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>



-- 
"The secret impresses no-one, the trick you use it for is everything"
- Alfred Borden (The Prestiege)

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

Reply via email to