"/*/" has nothing to do with virtual hosts in Apache.  If by "/*/servlet"
you are trying to say "for any hostname, send URLs of the form /servlet to
Tomcat" then you aren't going about it correctly.

For each VirtualHost or NameVirtualHost container in Apache, you would just
want 

JkMount /servlet/* common

This came up a couple months back, I think, and the consensus, if I remember
correctly, was that once JK sees "*" then it is done processing the URL.
That is, anything after "*" is ignored.  So, processing left to right in
your example, "/*/servlet" would be seen as "/*", which would cause all
requests to go to Tomcat.

John


> -----Original Message-----
> From: Samsyguin Daniel [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 04, 2002 2:47 PM
> To: [EMAIL PROTECTED]
> Subject: Buggy mod_jk mount of /*/servlet path!
> 
> 
> Hallo!
> 
> I've tried to configure tomcat 4.1.12 (built from FreeBSD ports) as
> jsp/servlets backend for apache 1.3.xx (with mod_jk from 
> FreeBSD ports).
> 
> All works fine, but when I put in mod_jk.conf (included in httpd.conf)
> JkMount /*/servlet/ common
> - it works as if I configure
> JkMount /*/ common
> :(((((
> 
> I have a lot of virtual apache hosts (name based), all them are in
> server.xml are configured too...
> 
> But, for example, when configured as described in docs,
> ALL urls are transferred to tomcat!
> For example, if error 404 - tomcat say it...
> 
> It's really strange, I used /*/servlet, not /*/!
> 
> Any idea?
> 
> Best wishes,
> Daniel
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to