Bug #55134 [Asn->Csd]: index.html has greater priority than index.php
| From: | sixd@php.net | Date: | Sat, 23 Jul 2011 17:15:17 +0000 |
| Subject: | Bug #55134 [Asn->Csd]: index.html has greater priority than index.php | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-162133@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55134&edit=1
ID: 55134
Updated by: sixd@php.net
Reported by: frederic dot hardy at mageekbox dot net
Summary: index.html has greater priority than index.php
-Status: Assigned
+Status: Closed
Type: Bug
Package: Built-in web server
Operating System: Irrelevant
PHP Version: 5.4SVN-2011-07-05 (SVN)
Assigned To: moriyoshi
Block user comment: N
Private report: N
New Comment:
Fixed by Moriyoshi in http://svn.php.net/viewvc?view=revision&revision=313627
Previous Comments:
------------------------------------------------------------------------
[2011-07-23 17:12:35] sixd@php.net
Automatic comment from SVN on behalf of sixd
Revision: http://svn.php.net/viewvc/?view=revision&revision=313637
Log: Swap .html & .php order to match Moriyoshi's fix for bug 55134
in http://svn.php.net/viewvc?view=revision&revision=313627
------------------------------------------------------------------------
[2011-07-05 13:34:49] aharvey@php.net
This is to do with the new built-in Web server, not a standalone one.
------------------------------------------------------------------------
[2011-07-05 13:30:24] 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. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
This has to do with your web server config, not PHP.
------------------------------------------------------------------------
[2011-07-05 03:42:32] frederic dot hardy at mageekbox dot net
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 this bug report at https://bugs.php.net/bug.php?id=55134&edit=1