Hi,

I'm trying to write a simple apache module in perl and have apparent success. When i request the page from my server, I get the proper HTML output. However, appended to the end of the proper HTML, is a second HTML document that says:

.. my html ...
</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,
[EMAIL PROTECTED] 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>
<hr>
<address>Apache/2.0.58 (Unix) PHP/5.1.4 DAV/2 mod_apreq2-20051231/2.6.0 mod_perl/2.0.2 Perl/v5.8.8 Server at lalala.localhost.localhost Port 80</address>
</body></html>

My handler is quite simple, and returns Apache2::Const::OK. What causes this extra document to be appended and how do I prevent it?

I'm using modperl 2.0.2, apache 2.0.58, and perl 5.8.8.

thanks
dave

Reply via email to