svn: /phpdoc/en/trunk/features/ commandline.xml
| From: | Christoph Michael Becker | Date: | Sun, 06 Sep 2015 15:53:03 +0000 |
| Subject: | svn: /phpdoc/en/trunk/features/ commandline.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13715@lists.php.net to get a copy of this message | ||
cmb Sun, 06 Sep 2015 15:53:03 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=337759
Log:
documented lookup of index.(php|html) in parent directories, and respective setting of PATH_INFO
(fixes #70434)
Bug: https://bugs.php.net/70434 (Assigned) cli-server
doesn't handle missing directories properly
Changed paths:
U phpdoc/en/trunk/features/commandline.xml
Modified: phpdoc/en/trunk/features/commandline.xml
===================================================================
--- phpdoc/en/trunk/features/commandline.xml 2015-09-06 15:06:02 UTC (rev 337758)
+++ phpdoc/en/trunk/features/commandline.xml 2015-09-06 15:53:03 UTC (rev 337759)
@@ -1624,8 +1624,11 @@
PHP was started, unless the -t option is used to specify an
explicit document root. If a URI request does not specify a file,
then either index.php or index.html in the given directory are
- returned. If neither file exists, then a 404 response code is
- returned.
+ returned. If neither file exists, the lookup for index.php and index.html
+ will be continued in the parent directory and so on until one is found or
+ the document root has been reached. If an index.php or index.html is found,
+ it is returned and $_SERVER['PATH_INFO'] is set to the trailing part of
+ the URI. Otherwise a 404 response code is returned.
</para>
<para>