ID: 16998 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: HTTP related Operating System: Windows XP PHP Version: 4.1.2 New Comment:
This was NOT a support request. I have found that at other sites. I have a problem with not considering this a bug. When PHP interprets URL's in one fashion complied as an Apache module under Linux yet translates these same URL's differently in the Windows CGI version then it seems obvious that either the Linux-Apache version has a bug or the Windows version does. In either case, it does not make for good cross-platform portability. I am aware there are workarounds which involve major rewriting of user code to accomplish this portability. The 'help' I was asking for was as one of a community of users, that it might be addressed in the next release so we are not all forced to rewrite out code to account for cross-platform incompatabilities. Previous Comments: ------------------------------------------------------------------------ [2002-05-04 01:17:29] [EMAIL PROTECTED] 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 ------------------------------------------------------------------------ [2002-05-03 23:02:40] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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