You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/10/27 16:30:13 UTC

DO NOT REPLY [Bug 46098] New: DirectoryIndex + mod_jk + limit POST

https://issues.apache.org/bugzilla/show_bug.cgi?id=46098

           Summary: DirectoryIndex + mod_jk + limit POST
           Product: Apache httpd-2
           Version: 2.2.10
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: marco@praxell.com


Trying to limit to POST only a <location /something> , /something is URI mapped
to mod_jk,

DirectoryIndex is set to /something , so POSTing or GETing to url/ is forwarded
to tomcat,

if trying to use Limit on /something location like this
<Location /something>
     <Limit POST>
        allow from all
     </Limit>
     <Limitexcept POST>
        Deny from all
     </Limitexcept>
</Location>

if POSTing to /something, it works ,
if POSTing to / , assuming DirectoryIndex will forward to the /something, i get
"403" , in the error_log i see this 
client denied by server configuration: /opt/apache-2.2.9/htdocs/something , 
the request is seen by mod_jk (looking at the debug, i see a match for the
request), still, apache returns 403 ,

if specifing Limit for both POST and GET , this works.


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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 46098] DirectoryIndex + mod_jk + limit POST

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46098


Marco Supino <ma...@praxell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marco@praxell.com




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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 46098] DirectoryIndex + mod_jk + limit POST

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46098

Nick Kew <ni...@webthing.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #1 from Nick Kew <ni...@webthing.com> 2009-12-20 17:11:45 UTC ---
This is confused configuration.  DirectoryIndex implies local contents, and you
can't POST to it (because you don't have a handler that accepts POST).  I think
this is covered in the documentation, that warns against mixing Location and
Directory sections in paths that might overlap.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org