Re: [users@httpd] 500 Internal Server Error pages being rendered as markup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <joshua@xxxxxxxx> wrote:

On 12/16/05, Vincent Jong <vjong@xxxxxxxxxxxxxxxxx> 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:
http://issues.apache.org/bugzilla/show_bug.cgi?id=36090

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: http://www.opera.com/mail/

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux