httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <>
Subject Re: Bug with "SetHandler None"
Date Sat, 19 Mar 2016 16:32:48 GMT
Hmmm.... a rough look doesn't seem to show anyplace where we
used to use strcasecmp and now use strcmp;

The bigger question is whether or not 'none' should be case insensitive
or not. IMHO, it should be.

> On Mar 19, 2016, at 11:31 AM, Michael Kaufmann <> wrote:
> Hi,
> I have found a bug in the current 2.4.x branch: "SetHandler None" does not work anymore
(note the capital letter "N"). This worked with Apache 2.4.18. Probably this commit has changed
the behavior:
> The documentation at is
inconsistent: In the syntax definition, the value "none" is used, but there is also this sentence:
"You can override an earlier defined SetHandler directive by using the value None." So I expect
that both "none" and "None" should work.
> Example configuration that shows the problem (the send-as-is handler is not used anymore
for asis files):
> <Location />
>    SetHandler       None
>    AddType          text/html .html .asis
>    AddHandler       send-as-is html asis
> </Location>
> Regards,
> Michael

View raw message