tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: mod_jk configuration
Date Tue, 31 Oct 2006 17:29:23 GMT
Bruno,

bcochofel wrote:
> Christopher Schultz-2 wrote:
>>> Here's my /etc/apache2/conf.d/jk.conf: 
>>> http://www.nabble.com/file/3921/jk.conf jk.conf 
>> (These are never coming through. How are you trying to attach files?)
>>
> 
> I'm using Upload File... option.

Hmm... I didn't know that one could "upload file" to an email...
consider using copy/paste in the future. It seems to have worked, here.

>     ################### jps-examples ######################
>     Alias /jsp-examples "/srv/www/tomcat5/base/webapps/jsp-examples"
>     JkMount /jsp-examples ajp13
>     JkMount /jsp-examples/*.jsp  ajp13
>     JkMount /jsp-examples/j_security_check ajp13

Note that the URI "/jsp-examples/" is not covered by these mappings.
Apache httpd (and Tomcat) will do exactly what you ask of them, but no
more. If the URI is off by a single character (in this case, a trailing
'/'), then the request won't be forwarded to Tomcat.

>     ################### cocoon ############################
>     Alias /cocoon "/srv/www/tomcat5/base/webapps/cocoon"
>     JkMount /cocoon ajp13
>     JkMount /cocoon/*  ajp13

No, this one ought to work with a trailing /, since you have a mapping
for "/cocoon/*". This includes "/cocoon/".

You seem to be missing this mapping for the "jsp-examples" webapp, but
the others have it.

Just be careful about what you do and do not map. You can usually find
the problem by reading your own configuration closely.

Hope that helps,
-chris



Mime
View raw message