httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre Rodrigues <acastanheira2...@yahoo.com.br>
Subject Re: [users@httpd] virtualhost doubt
Date Thu, 15 Oct 2009 11:04:20 GMT
Hi,

But if I create a second virtualhost, for example portal2, the user oughts to type https://portal2/app
and https://portal2/app2.

Is there a way to serve many apps below a virtualhost and do the access log per application?

 Thanks,
André



----- Original Message ----
From: Devraj Mukherjee <devraj@gmail.com>
To: users@httpd.apache.org
Sent: Wed, October 14, 2009 9:34:24 PM
Subject: Re: [users@httpd] virtualhost doubt

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


      

---------------------------------------------------------------------
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