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

From: Date: Sat, 04 May 2002 03:02:40 +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-6866@lists.php.net to get a copy of this message
ID: 16998 Updated by: bob@Prose-n-Poetry.com Reported By: bob@Prose-n-Poetry.com Status: Open Bug Type: HTTP related Operating System: Windows XP PHP Version: 4.1.2 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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 (#6866) next »