Quantcast
Channel: CentOS Bug Tracker - Issues
Viewing all articles
Browse latest Browse all 19115

0003395: mod_cgi truncates error replies

$
0
0
There was a bug in mod_cgi module prior to version 2.2.6 which supplied Content-length 0 in a 500 error responce. As a result browser displays blank page instead of custom page configured via ErrorDocument directive.<br /> <br /> How to reproduce:<br /> - create file 500.html in docroot of web server;<br /> - insert ErrorDocument 500 /500.html in httpd.conf;<br /> - create a perl script with syntax error and put it in cgi-bin directory;<br /> now if we access perl script through browser we will get an empty page instead of contents of 500.html file<br /> According to apache changelog this bug was fixed in 2.2.6:<br /> *) mod_cgi, mod_cgid: Fix use of CGI scripts as ErrorDocuments.<br /> PR 39710. [Paul Querna, Ruediger Pluem]<br /> <br /> I'm now using mod_cgi from 2.2.11 and all works fine, but please backport this bugfix if it is possible :)<br /> <br /> Thanks in advance.

Viewing all articles
Browse latest Browse all 19115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>