Inspired by Rich's feature request in PR#47184, I wondered why

<Directory /foo>
        SetHandler FooDefault
        AddHandler my-handler .foo .bar
</Directory>

doesn't have "specificity" semantics, wherein the AddHandler
overrides the SetHandler.

Turns out the latter gets set in core_override_type(), which is
a fixups hook, and unconditionally overrides anything set by
mod_mime or other module.  The semantics are "ForceType".

Why?

Does something bad happen if we check r->handler for what
some-other-module may have set before overriding it?

--
Nick Kew

Reply via email to