Bug #16998: CGI version: Problematical Slash in URL
| From: | bob at Prose-n-Poetry dot com | Date: | Sat, 04 May 2002 02:53:12 +0000 |
| Subject: | Bug #16998: CGI version: Problematical Slash in URL | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-6865@lists.php.net to get a copy of this message | ||
From: bob@Prose-n-Poetry.com
Operating system: Windows XP
PHP version: 4.1.2
PHP Bug Type: HTTP related
Bug description: CGI version: Problematical Slash in URL
In my webhost (Linux) a URL such as: http://mysite.com/show_article/22 can
be used. The file show_article is forced to be interpreted as php through
.htaccess. 22, of course, refers to the article number. I just installed
Apache, PHP and mySql on my computer, setting it up as a server, using
localhost as the url. None of these URLs work and produce "error 500,
Premature end of script headers: C:/PHP/php.exe." Tracing it carefully I
found that the slash just before '22' is the problem. The URL
http://localhost/display_article/ also gives the
same error.
Any help would be appreciated,
bob
--
Edit bug report at http://bugs.php.net/?id=16998&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16998&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16998&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16998&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16998&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16998&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16998&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16998&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16998&r=submittedtwice