Processing of redirectToSSL in RequestMapper

Cantor, Scott cantor.2 at osu.edu
Tue Dec 13 16:42:39 GMT 2011


On 12/13/11 4:18 AM, "Philip Brusten" <philip.brusten at icts.kuleuven.be>
wrote:
>
>I understand that whenever there's no such command pair present in the
>configuration, the module is not being run and hence the RequestMapper
>is NOT being processed. Am I right??

Mostly yes.

>The behaviour I'm experiencing in a lab environment is quite the
>opposite...

There is a handler registered that also sees many requests explicitly but
doesn't do anything unless the request is to the handler URL. It's likely
that the redirectToSSL option is being triggred from there. Apache has
undocumented (and incorrectly documented) behavior around handlers and it
probably is running the handler for static content and not for PHP.

>So in fact my question is why the RequestMap is being processed for
>*some* requests (for now all files, except PHP) even when the module
>isn't active?
>
>If this seems to be a bug, I would be happy to post it on the issue
>tracker.

I don't know that it rises to "bug" level, but you can create an issue for
it. I don't know that I would see this as totally inconsistent behavior,
since redirectToSSL is best effort anyway, and is only there for people
using IIS. People using Apache have ample means to do that directly.

Since the SP as a whole isn't going to function properly without the other
commands, how it behaves without them isn't all that crucial.

-- Scott



More information about the users mailing list