Bug #55134 [NEW]: index.html has greater priority than index.html
| From: | frederic dot hardy at mageekbox dot net | Date: | Tue, 05 Jul 2011 07:42:32 +0000 |
| Subject: | Bug #55134 [NEW]: index.html has greater priority than index.html | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-161587@lists.php.net to get a copy of this message | ||
From:
Operating system: Irrelevant
PHP version: 5.4SVN-2011-07-05 (SVN)
Package: Built-in web server
Bug Type: Bug
Bug description:index.html has greater priority than index.html
Description:
------------
When a directory contains index.html and index.php, built-in web server
send to the client index.html, instead of index.php.
Test script:
---------------
Pour in the root directory of the built-in web server index.html and
index.php.
Launght the built-in web server with php -S localhost:8080.
Go to http://localhost:8080.
Expected result:
----------------
Result of execution of index.php.
Actual result:
--------------
Contents of index.html.
--
Edit bug report at https://bugs.php.net/bug.php?id=55134&edit=1
--
Try a snapshot (PHP 5.2): https://bugs.php.net/fix.php?id=55134&r=trysnapshot52
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=55134&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=55134&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=55134&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55134&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=55134&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=55134&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=55134&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=55134&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=55134&r=support
Expected behavior: https://bugs.php.net/fix.php?id=55134&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=55134&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=55134&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=55134&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=55134&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=55134&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=55134&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=55134&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=55134&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=55134&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=55134&r=mysqlcfg
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=55134&r=trysnapshot54