DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15462>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15462

<Location> directive breaks mod_jk finding index.jsp

           Summary: <Location> directive breaks mod_jk finding index.jsp
           Product: Tomcat 4
           Version: 4.0.6 Final
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Connector:JK/AJP (deprecated)
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


This is with Apache 2.0.40 (Red Hat 8.0) and mod_jk.so built from jakarta-
tomcat-connectors-jk-1.2.1-src.

Inside a SSL-enabled virtual host, a directory requested that falls under a 
<Location> directive that is also served by Tomcat will cause a Bad Request 
(code 400) page.

For example, if I have the following Apache config:
-------- Begin sample Apache conf --------
<VirtualHost _default_:443>

[... (extra config removed)]

#   SSL Engine Switch:
#   Enable/Disable SSL for this virtual host.
SSLEngine on

[...]

<Location /my-open-web-context>
  Order Allow,Deny
  Allow from all
  Satisfy any
</Location>

# Require authentication for rest of virt host...

</VirtualHost>

[...]
JkMount /my-open-web-context ajp13
JkMount /my-open-web-context/* ajp13
-------- End sample Apache conf --------

I can successfully get this URL:
https://my-host/my-open-web-context/index.jsp 
But if I leave out the "index.jsp", I get a 400 Error with the following URL 
rewritten in the browser:
http://my-host:443/my-open-web-context/index.jsp 

This exact same config worked fine with Apache 1.3 and the same version of 
mod_jk and Tomcat.

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

Reply via email to