Bug #13316: CGI dies (Premature end of script headers) with URLs with /x after script name
| From: | jobarr at herzeleid dot com | Date: | Sat, 15 Sep 2001 09:46:35 +0000 |
| Subject: | Bug #13316: CGI dies (Premature end of script headers) with URLs with /x after script name | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-65999@lists.php.net to get a copy of this message | ||
From: jobarr@herzeleid.com
Operating system: Windows 2000 SP1
PHP version: 4.0.6
PHP Bug Type: URL related
Bug description: CGI dies (Premature end of script headers) with URLs with /x after script name
I am using the binary from this site.
Anytime I access a PHP script with any characters after a / after the
script name, it gives me an internal server error 500 and says "Premature
end of script headers: c:/php/php.exe" in the error log.
What I mean is if I type "http://localhost/script.php/1" it will crash. I
want to do this so I can avoid "http://localhost/script.php?test=1" for
search engines.
It works fine in module mode though!!
I hope this makes sense...it is hard to explain =)
I am using apache 1.3.20.
--
Edit bug report at: http://bugs.php.net/?id=13316&edit=1