Bug #16998 Updated: CGI version: Problematical Slash in URL

From: Date: Sat, 04 May 2002 05:17:29 +0000
Subject: Bug #16998 Updated: CGI version: Problematical Slash in URL
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-6894@lists.php.net to get a copy of this message
ID: 16998 Updated by: mfischer@php.net Reported By: bob@Prose-n-Poetry.com -Status: Open +Status: Bogus Bug Type: HTTP related Operating System: Windows XP PHP Version: 4.1.2 New Comment: The bug system is not the appropriate forum for asking support questions. For a list of a range of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php Previous Comments: ------------------------------------------------------------------------ [2002-05-03 23:02:40] bob@Prose-n-Poetry.com A quick footnote: That structure in the URLs is very search-engine friendly. My site has over 5000 pages and is highly placed, hence I can't easily change. ------------------------------------------------------------------------ [2002-05-03 22:53:12] bob@Prose-n-Poetry.com 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 this bug report at http://bugs.php.net/?id=16998&edit=1

« previous php.bugs (#6894) next »