You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Eugene <j....@infosatgeomatica.com> on 2004/09/21 07:43:05 UTC

the second slash

Hello all! Maybe I'm little bit offtopic...
I'm running Apache2.0.50 + Tomcat 5.0.28with mod_jk2 on RH9.
So the problem is: When I'm trying to access to root of
the host: http://www.myhost.com/ all works fine. But when I'm trying
to access  to subdirectory http://www.myhost.com/directory/ or
http://www.myhost.com/directory , Apache converts this request in
http://www.myhost.com/directory//. Actually, in my access.log I see
this:
200.200.200.200 - - [20/Sep/2004:14:54:42 -0300] "GET /directory// HTTP/1.1" 302 -

The /directory is physical directory and the document root
configured like this:    DocumentRoot /usr/alex/server/apache/www
(without slash at the end). So the physical location is /usr/alex/server/apache/www/directory
The directoryes served by Tomcat mounted like this:
    <Location "/directory/*">
       JkUriSet worker ajp13:myhost.com:8009
    </Location>
I've tryed to reconfigure all like <Location "/directory/">
or <Location "/directory">. No effect at all. Also it doesnt have any
effect to reconfigure workers2.properties to set URI in three
different ways -
[uri:myhost.com:/directory/*]
group=ajp13:myhost.com::8009

[uri:myhost.com:/directory/]
group=ajp13:myhost.com::8009

[uri:myhost.com:/directory]
group=ajp13:myhost.com::8009

In all cases Apache adds this second slash.

If somebody have any ideas - I'll be really appreciated for any help.
Thanks!

-- 
Best regards,
 Eugene


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org