httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karsten Konrad <>
Subject Re: [users@httpd] Change HTTP status code in Custom Errors - next try
Date Tue, 13 Jun 2006 11:30:37 GMT
Dear Nick and Joshua!

Nick Kew wrote:
> On Sunday 11 June 2006 21:14, Karsten Konrad wrote:
>>     <Location "/error/CUSTOM_SERVER_MAINTENANCE.html.var">
>>       Header set STATUS "503 Service Unavailable"
>>     </Location>
>> The result is the following line in the HTTP Header "Status: 503 Service
>> Unavailable"
>> But the return code itself is still "HTTP/1.x 200 OK"
> Status is a CGI header, not an HTTP header.  Headers set by mod_headers
> don't go through CGI processing.
> It would be relatively straightforward to patch the code to make that work.
> But even simpler just to use CGI.  You're not expecting these errors to
> account for *that* much of your traffic, are you?
No, I don't expect that many error messages. Basically, I hoped that I 
could keep the configuration simpler by using Apache only :-)

Thank you both very much für the (background) information!
I realized the errormessages in php now.

Best regards,
Karsten Konrad

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message