You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by David Salisbury <sa...@globe.gov> on 2006/02/08 19:01:17 UTC

[users@httpd] 2.2 ErrorDocument weirdness

There's worse things than this, but I wonder if anyone has this weirdness.

Apache 2.2, upon a server error, would send the error message
using text as it's content-type, thereby the html would display as text
in the browser. I fixed this by changing the DefaultType to text/html 
from text/plain

----
# DefaultType is the default MIME type for documents which the server
# cannot find the type of from filename extensions.
DefaultType text/html
----

Though it seems strange to me that Apache doesn't know what it's generating. :)
But the weird part is that I'm still getting the message:
"Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request."
even though I have commented out any ErrorDocuments defined.

anyone else experience this?

-Dave





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] 2.2 ErrorDocument weirdness

Posted by Joshua Slive <jo...@slive.ca>.
On 2/8/06, David Salisbury <sa...@globe.gov> wrote:
>
> There's worse things than this, but I wonder if anyone has this weirdness.
>
> Apache 2.2, upon a server error, would send the error message
> using text as it's content-type, thereby the html would display as text
> in the browser. I fixed this by changing the DefaultType to text/html
> from text/plain
>
> ----
> # DefaultType is the default MIME type for documents which the server
> # cannot find the type of from filename extensions.
> DefaultType text/html
> ----
>
> Though it seems strange to me that Apache doesn't know what it's generating. :)
> But the weird part is that I'm still getting the message:
> "Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request."
> even though I have commented out any ErrorDocuments defined.
>
> anyone else experience this?

Sounds like:
http://issues.apache.org/bugzilla/show_bug.cgi?id=37938

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org