You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "hv @ Fashion Content" <in...@fashioncontent.com> on 2005/12/04 22:49:59 UTC
Anyone tried mixing Jk2 & Php resources within the same virtual host ?
It could be that I just need to fix my httpd.conf, but I am a bit stuck.
I basicly have a virtualhost like this:
DocumentRoot /var/www/site1
<Location /ldapadmin>
Allow from all
</Location>
<Location /*>
JkUriSet worker ajp13:localhost:8009
</Location>
I want all requests to /ldapadmin.* to be served by apache+php and the rest
to be served by tomcat, but somehow they all seem to be passed to tomcat.
Henrik
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Anyone tried mixing Jk2 & Php resources within the same virtual host ?
Posted by "hv @ Fashion Content" <in...@fashioncontent.com>.
Ok, thanks.
Guess I will have to work until I upgrade the server to Fedora Core 4.
"Bill Barker" <wb...@wilshire.com> skrev i en meddelelse
news:dmvt72$jk4$1@sea.gmane.org...
>
> "hv @ Fashion Content" <in...@fashioncontent.com> wrote in message
> news:dmvoa6$6nt$1@sea.gmane.org...
>> It could be that I just need to fix my httpd.conf, but I am a bit stuck.
>>
>> I basicly have a virtualhost like this:
>>
>> DocumentRoot /var/www/site1
>> <Location /ldapadmin>
>> Allow from all
>> </Location>
>>
>> <Location /*>
>> JkUriSet worker ajp13:localhost:8009
>> </Location>
>>
>> I want all requests to /ldapadmin.* to be served by apache+php and the
>> rest to be served by tomcat, but somehow they all seem to be passed to
>> tomcat.
>>
>
> I don't think you can do this with mod_jk2. You would need mod_jk for
> this:
> JkMount !/ldapadmin/* worker
>
>> Henrik
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Anyone tried mixing Jk2 & Php resources within the same virtual host ?
Posted by Bill Barker <wb...@wilshire.com>.
"hv @ Fashion Content" <in...@fashioncontent.com> wrote in message
news:dmvoa6$6nt$1@sea.gmane.org...
> It could be that I just need to fix my httpd.conf, but I am a bit stuck.
>
> I basicly have a virtualhost like this:
>
> DocumentRoot /var/www/site1
> <Location /ldapadmin>
> Allow from all
> </Location>
>
> <Location /*>
> JkUriSet worker ajp13:localhost:8009
> </Location>
>
> I want all requests to /ldapadmin.* to be served by apache+php and the
> rest to be served by tomcat, but somehow they all seem to be passed to
> tomcat.
>
I don't think you can do this with mod_jk2. You would need mod_jk for this:
JkMount !/ldapadmin/* worker
> Henrik
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org