https://bugzilla.novell.com/show_bug.cgi?id=224956 suse-beta@cboltz.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Component|Network |Network Product|SUSE Linux 10.1 |openSUSE 10.2 Resolution|WONTFIX | ------- Comment #3 from suse-beta@cboltz.de 2006-12-21 14:06 MST ------- This bug is easily reproducable as described in the initial comment on 10.2 final. An easier way to reproduce is - touch /srv/www/cgi-bin/broken.sh - open http://localhost/cgi-bin/broken.sh in your favorite browser Expected result: the browser shows a 500 page Actual result: the browser offers to download the empty file The Apache logs show: access_log: 127.0.0.1 - - [21/Dec/2006:21:55:25 +0100] "GET /cgi-bin/broken.sh HTTP/1.0" 500 - "-" "-" 127.0.0.1 - - [21/Dec/2006:21:56:22 +0100] "GET /cgi-bin/broken.sh HTTP/1.0" 500 - "-" "-" error_log: [Thu Dec 21 21:55:32 2006] [error] [client 127.0.0.1] (13)Permission denied: exec of '/srv/www/cgi-bin/broken.sh' failed [Thu Dec 21 21:55:32 2006] [error] [client 127.0.0.1] Premature end of script headers: broken.sh [Thu Dec 21 21:56:27 2006] [error] [client 127.0.0.1] (8)Exec format error: exec of '/srv/www/cgi-bin/broken.sh' failed [Thu Dec 21 21:56:27 2006] [error] [client 127.0.0.1] Premature end of script headers: broken.sh The first try was directly after the touch'ing the file, the second after a chmod +x. However, the reason of the failure is completely unimportant - it's just important to enforce the Content-Type header to "text/html" for error documents. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.