httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Jong" <>
Subject Re: [users@httpd] 500 Internal Server Error pages being rendered as markup
Date Fri, 16 Dec 2005 15:57:04 GMT
Listing what I did below to apply the patch, so if I made a mistake  
applying it, someone can let me know.

1. downloaded the patch to /home/some-user/temp
2. copied source tarball to /home/some-user/temp and untarred it.
3. cd /home/some-user/temp/httpd-2.2.0/modules/http
4. patch -i /home/some-user/temp/http_request.c.patch http_request.c

I then preceded to configure, make, make install. I started up the new  
apache and saw the "It works!" index page of DocumentRoot and then tried  
to access http://localhost/cgi-bin/test-cgi and the error page still  
renders in HTML markup. The patch didn't work, so I'll file a bug after my  
chiropracter appointment.

Thanks for all the help. =)

Vincent J.

On Fri, 16 Dec 2005 07:17:26 -0800, Joshua Slive <> wrote:

> On 12/16/05, Vincent Jong <> wrote:
>> I'm not understanding what you mean. This was a clean install of apache
>> and after typing make install,
>> I started up this install's apache. I didn't edit the httpd.conf file.  
>> All
>> the ErrorDocument lines that are in
>> httpd.conf are example lines that are commented out already. So what is
>> happening is when a user tries to access some cgi script that isn't
>> configured right, this user gets the 500 Internal Server Error page. The
>> problem with this page is that it is displayed as HTML code. There's the
>> additional line of another 500 Internal Server Error occurring when  
>> trying
>> to use an ErrorDocument handling the error request. Since I've never,  
>> ever
>> configured any kind of customized error documents, I wouldn't even begin
>> to know where all this error document configuration is. I prefer to use
>> apache's default configuration and error pages.
> (Well, before you were including a bunch of extra errordocuments in
> your config via the Include directives at the bottom, but anyway...)
> My appologies, you are correct.  I have been able to recreate the
> problem.  This may be the same as the following bug:
> Try the patch at the bottom of that report.  If that doesn't fix the
> problem, please file a new bug report.
> Joshua.

Using Opera's revolutionary e-mail client:

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message