php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19824 Any query string causes Error 0: Not Found
Submitted: 2002-10-08 23:13 UTC Modified: 2002-10-27 19:13 UTC
From: rregan at attbi dot com Assigned:
Status: No Feedback Package: PHP options/info functions
PHP Version: 4.2.1 OS: Windows98
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
38 - 11 = ?
Subscribe to this entry?

 
 [2002-10-08 23:13 UTC] rregan at attbi dot com
Entering any url, say http://127.0.0.1/hello.php works fine. If I call the same page with any type of query string appended, eg, http://127.0.0.1/hello.php?x=y the only thing returned is a blank page with: "Error 0: Not Found."

I came across the solution on the BadBlue website. In PHP.ini, if "doc_root=" is not blank, you get this behavior. If you edit it back to just doc_root= , the problem goes away and the url is evaluated properly.

This seems like very strange behavior to result from this setting and probably not what you intended.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-09 10:41 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


 [2002-10-27 19:13 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 21:01:30 2024 UTC