virtualhost doubt
am 13.10.2009 14:35:42 von Andre Rodrigues
Hi,
I=B4ve configured a virtualhost like this:
>
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 "E=
rrorlog /var/log/apache2/app-error_log".=0AOR=0AIf user type http://portal/=
app2 the Errorlog would be "Errorlog /var/log/apache2/app2-error_log".=0A=
How to config the Errorlog directive in order to have application=B4s=
specific logs?
=0AThanks,=0AAndré
=0A
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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
Re: virtualhost doubt
am 15.10.2009 02:34:24 von Devraj Mukherjee
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
wrote:
> Hi,
>
> I=B4ve configured a virtualhost like this:
>
>
>
> ServerName portal
>
> # SSL config
>
> ....
>
> JkMount /app dmb
>
> JkMount /app2 dmb
>
> Errorlog /var/log/apache2/app-error_log
>
>
>
> 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=B4s spe=
cific logs?
>
>
> Thanks,
> Andr=E9
>
>
>
>
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project=
..
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> =A0 " =A0 from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
--=20
"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 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
Re: virtualhost doubt
am 15.10.2009 13:04:20 von Andre Rodrigues
Hi,
But if I create a second virtualhost, for example portal2, the use=
r oughts to type https://portal2/app and https://portal2/app2.
Is ther=
e a way to serve many apps below a virtualhost and do the access log per ap=
plication?
Thanks,=0AAndré
=0A----- Original Message ----=
=0AFrom: Devraj Mukherjee =0ATo: users@httpd.apache.org=
=0ASent: Wed, October 14, 2009 9:34:24 PM=0ASubject: Re: [users@httpd] virt=
ualhost doubt
Hi Andre,
I believe this would be easier handled at=
the application server /=0Aapplication level than trying to get Apache to =
direct error logs based=0Aon URLs.
Unless of course you can create two=
VirualHost entries in which case=0Ayou can redirect the logs to different =
locations.
On Tue, Oct 13, 2009 at 11:35 PM, Andre Rodrigues=0A
nheira2001@yahoo.com.br> wrote:=0A> Hi,=0A>=0A> I=B4ve configured a virtual=
host like this:=0A>=0A> =0A>=0A> ServerName portal=0A>=
=0A> # SSL config=0A>=0A> ....=0A>=0A> JkMount /app dmb=0A>=0A> JkMount /ap=
p2 dmb=0A>=0A> Errorlog /var/log/apache2/app-error_log=0A>=0A>
t>=0A>=0A> If user types http://portal/app the Errorlog would be "Errorlog =
/var/log/apache2/app-error_log".=0A> OR=0A> If user type http://portal/app2=
the Errorlog would be "Errorlog /var/log/apache2/app2-error_log".=0A>=0A>=
=0A> How to config the Errorlog directive in order to have application=B4s =
specific logs?=0A>=0A>=0A> Thanks,=0A> André
>=0A>=0A>=0A>=0A>=0A> ----=
------------------------------------------------------------ -----=0A> The o=
fficial User-To-User support forum of the Apache HTTP Server Project.=0A> S=
ee for more info.=0A> To unsub=
scribe, e-mail: users-unsubscribe@httpd.apache.org=0A> " from the diges=
t: users-digest-unsubscribe@httpd.apache.org=0A> For additional commands, e=
-mail: users-help@httpd.apache.org=0A>=0A>
-- =0A"The secret imp=
resses no-one, the trick you use it for is everything"=0A- Alfred Borden (T=
he Prestiege)
-------------------------------------------- ------------=
-------------=0AThe official User-To-User support forum of the Apache HTTP =
Server Project.=0ASee for more=
info.=0ATo unsubscribe, e-mail: users-unsubscribe@httpd.apache.org=0A " =
from the digest: users-digest-unsubscribe@httpd.apache.org=0AFor addition=
al commands, e-mail: users-help@httpd.apache.org
=0A
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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