httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruud Dozijn <rdoz...@hotmail.com>
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
> http://perl.apache.org/docs/2.0/user/intro/start_fast.html#Registry_Scripts
> 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>
<!DOCTYPE HTML
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
<head>
<title>agent</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<BODY>
<P>ERROR</P><P>database lookup failed</P>
</BODY>
</HTML><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>200 OK</title>
</head><body>
<h1>OK</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 webmaster@sdu.nl 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>
</body></html>

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

 		 	   		  
Mime
View raw message