httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@gmail.com>
Subject Re: [RFC] Error directive to generate custom error messages from httpd.conf
Date Mon, 08 Nov 2010 01:25:38 GMT
On Sun, Nov 7, 2010 at 8:13 PM, Graham Leggett <minfrin@sharp.fm> wrote:
> On 08 Nov 2010, at 2:35 AM, Jeff Trawick wrote:
>
>> With the Error directive:
>>
>> <IfModule !mod_include.c>
>> Error mod_foo requires mod_include!  Use the LoadModule directive to
>> load mod_include.
>> </IfModule>
>>
>>
>> $ ./httpd -t
>> Syntax error on line 486 of /home/trawick/inst/23/conf/httpd.conf:
>> mod_foo requires mod_include!  Use the LoadModule directive to load
>> mod_include.
>
> Definite +1, clear error messages are a very good thing.

Thanks Dan & Graham...  I'll commit when I can write some docs and try
to confirm that it works reasonably in any odd situations I can think
of.

Mime
View raw message