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: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to