httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Devraj Mukherjee <dev...@gmail.com>
Subject Re: [users@httpd] virtualhost doubt
Date Thu, 15 Oct 2009 00:34:24 GMT
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
<acastanheira2001@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-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@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-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