httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: Why does SetHandler have ForceHandler semantics?
Date Tue, 12 May 2009 14:34:07 GMT
Nick Kew wrote:
> 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.

The SetFoo -override- is designed to override all AddFoo soft associations.

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

Yes; you break configs (bazillions of them).

Mime
View raw message