tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36538] New: - (Apache 2.0.54) mod_jk 1.2.10 ignores -ForwardDirectories
Date Wed, 07 Sep 2005 08:52:35 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36538>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36538

           Summary: (Apache 2.0.54) mod_jk 1.2.10 ignores -
                    ForwardDirectories
           Product: Tomcat 5
           Version: 5.5.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Native:JK
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: anprevosto@airfrance.fr


Using Apache 2.0.54 / JK1.2.10 / Tomcat 5.5.9

 "-ForwardDirectories" (defauted or explicitly coded) has no effects : all URIs
that map to a directory are passed to and responded by tomcat, instead of Apache  

1/ If no index.html, no index.jsp, and without 'Options Indexes' is present :
   Expected : 403 Forbidden returned by Apache
   Actually : Directory listing returned by Tomcat

2/ If no index.html, no index.jsp, but with 'Options Indexes' :
   Expected : Directory listing returned by Apache
   Actually : Directory listing returned by Tomcat

Directives used
---------------

DirectoryIndex index.html
JkOptions  -ForwardDirectories
SetEnvIf Request_URI ".htm$|\.html$|\.css$|\.js$|\.gif$|\.jpg$|\.jpeg$" no-jk
<VirtualHost *:*>
  ...
  Alias /context-root   /path/to/webapp/docs
  JkMount /context-root/* workerName
</VirtualHost>

Aditionnal information
----------------------

I found a similar problem, reported in the bug 25104, for mod_jk 1.2.5 and
Tomcat 4. It was not solved, because jk 1.2 was told to be deprecated. But it is
actually not.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message