httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruud Dozijn <>
Subject RE: [users@httpd] apache changes status code from 500 to 200
Date Wed, 11 Jul 2012 14:42:48 GMT

> Firstly, it turns out that it isn't a CGI script but rather a mod_perl2
> registry script - different beast entirely. And given that, I'm
> surprised that you aren't using
> 	PerlOptions +ParseHeaders
> as suggested in the docs at
> Perhaps that will provide the functionality which you require.

hi Pete,
too bad, this makes no difference. And if I use an errordocument (which is a registry script
with that perloptions set) I get the same result.

I keep getting apache interference:

#<Net::HTTPOK 200 OK readbody=true>
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<HTML xmlns="" lang="en-US" xml:lang="en-US">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<P>ERROR</P><P>database lookup failed</P>
<title>200 OK</title>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator, and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>

Maybe I should stop using error codes to communicate error situation with the receiver...

View raw message