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 <[email protected]> To: [email protected] Sent: Wed, October 14, 2009 9:34:24 PM Subject: Re: [us...@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 <[email protected]> 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: [email protected] > " from the digest: [email protected] > For additional commands, e-mail: [email protected] > > -- "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: [email protected] " from the digest: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- 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: [email protected] " from the digest: [email protected] For additional commands, e-mail: [email protected]
