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 2004/04/15 23:05:49 UTC

DO NOT REPLY [Bug 28410] - mod_dir does trailing slash redirect on SetHandler

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=28410>.
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=28410

mod_dir does trailing slash redirect on <Location>SetHandler</Location>

slive@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|mod_alias                   |Core
            Summary|Alias expansion conflicts   |mod_dir does trailing slash
                   |with METHOD=POST            |redirect on
                   |                            |<Location>SetHandler</Locati
                   |                            |on>



------- Additional Comments From slive@apache.org  2004-04-15 21:05 -------
It is the browser that is converting from POST to GET, not the server. As I
said, this is happening because the server is sending a redirect to the client.

When the more general Alias is in place, Apache sees that there is a directory
there and this causes mod_dir to do a trailing-slash redirect before the handler
is activated.

Although I know what is happening (and that it is not a bug with Alias), I don't
really know enough about mod_perl and apache's handler implimentation to know if
there is a bug in apache.  The question is, should the SetHandler take over and
handle the request before mod_dir gets a crack at it?    My inclination is that
it is up to mod_perl and your module to make that determination, but I'm not sure.

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