Hello,

I just upgraded to the new version of Dispatch. Everything went smooth, I didn't have to change anything. However, I have been getting a strange error. I checked out the code and it seems that at the end of the handler method $r->status is being set (its value is 200). This value is associated with everything is Okay. However because the status is being set it triggers the http_error method (I think) and I see this appended to the html output:

</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,
[no address given] 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>


Shouldn't Dispatch check to see if the status is 200. I was confused because it sends either $r->status || OK();. If I am seeing this does it mean that their is something wrong with my setup (maybe an Apache config this).

Btw, I am running dispatch under mod_perl2 using Debian.

Thanks,
Michael Petnuch

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to