php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28320 Request of file/ return file.php instead of error when file/ doesn't exist
Submitted: 2004-05-07 20:06 UTC Modified: 2004-05-09 19:35 UTC
From: davide at onlyforfun dot net Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.3.6 OS: Linux 2.4.x
Private report: No CVE-ID: None
 [2004-05-07 20:06 UTC] davide at onlyforfun dot net
Description:
------------
If you have a php file like file.php and request 
http:...file/ the same file.php or a broken version of it 
will be returned instead of a 404 error when a directory 
named 'file' does not exist. 
If you create a directory named 'file' everything
works as supposed.




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-09 19:35 UTC] iliaa@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

This is the result of your Apache's configuration. 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 11 07:01:32 2024 UTC