rfc:builtinwebserver
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:builtinwebserver [2011/06/21 00:14] – Update with -t option sixd | rfc:builtinwebserver [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Date: 2011-06-020 | * Date: 2011-06-020 | ||
* Author: Moriyoshi Koizumi < | * Author: Moriyoshi Koizumi < | ||
- | * Status: | + | * Status: |
* First Published at: http:// | * First Published at: http:// | ||
* Other formats .. | * Other formats .. | ||
Line 35: | Line 35: | ||
php -S localhost: | php -S localhost: | ||
+ | |||
+ | ==== Directory Indexes ==== | ||
+ | |||
+ | If a request is made for a directory, the web server will return index.html or index.php if they exist in the directory. | ||
==== Router Script ==== | ==== Router Script ==== | ||
Line 41: | Line 45: | ||
php -S localhost: | php -S localhost: | ||
- | If the path to a file is given in place of document root, the file will be regarded as a router script and the document root will then be set to the directory where it belongs. | + | If the path to a file is given, the file will be regarded as a router script and the document root will then be set to the directory where it belongs. |
<code php> | <code php> |
rfc/builtinwebserver.1308615246.txt.gz · Last modified: 2017/09/22 13:28 (external edit)