Commit 0b755395 by Qiang Xue

working on guide [skip ci]

parent a15dbb21
...@@ -49,11 +49,10 @@ Handling Requests ...@@ -49,11 +49,10 @@ Handling Requests
* [Overview](runtime-overview.md) * [Overview](runtime-overview.md)
* [Bootstrapping](runtime-bootstrapping.md) * [Bootstrapping](runtime-bootstrapping.md)
* [Routing](runtime-routing.md) * [Routing and Url Creation](runtime-routing.md)
* [Requests](runtime-requests.md) * [Requests](runtime-requests.md)
* [Responses](runtime-responses.md) * [Responses](runtime-responses.md)
* [Sessions and Cookies](runtime-sessions-cookies.md) * [Sessions and Cookies](runtime-sessions-cookies.md)
* [URL Parsing and Generation](runtime-url-handling.md)
* [Handling Errors](runtime-handling-errors.md) * [Handling Errors](runtime-handling-errors.md)
* [Logging](runtime-logging.md) * [Logging](runtime-logging.md)
......
...@@ -158,9 +158,9 @@ DocumentRoot "path/to/basic/web" ...@@ -158,9 +158,9 @@ DocumentRoot "path/to/basic/web"
### Recommended Nginx Configuration <a name="recommended-nginx-configuration"></a> ### Recommended Nginx Configuration <a name="recommended-nginx-configuration"></a>
You should have installed PHP as an [FPM SAPI](http://php.net/install.fpm) to use [Nginx](http://wiki.nginx.org/). To use [Nginx](http://wiki.nginx.org/), you should install PHP as an [FPM SAPI](http://php.net/install.fpm).
Use the following Nginx configuration, replacing `path/to/basic/web` with the actual path for `basic/web` and `mysite.local` with You may use the following Nginx configuration, replacing `path/to/basic/web` with the actual path for
the actual hostname to serve. `basic/web` and `mysite.local` with the actual hostname to serve.
``` ```
server { server {
......
...@@ -84,8 +84,8 @@ ModuleID/ControllerID/ActionID ...@@ -84,8 +84,8 @@ ModuleID/ControllerID/ActionID
``` ```
So if a user requests with the URL `http://hostname/index.php?r=site/index`, the `index` action in the `site` controller So if a user requests with the URL `http://hostname/index.php?r=site/index`, the `index` action in the `site` controller
will be executed. For more details how routes are resolved into actions, please refer to will be executed. For more details on how routes are resolved into actions, please refer to
the [Routing](runtime-routing.md) section. the [Routing and URL Generation](runtime-routing.md) section.
## Creating Controllers <a name="creating-controllers"></a> ## Creating Controllers <a name="creating-controllers"></a>
......
...@@ -27,11 +27,10 @@ structure-assets.md | Yes ...@@ -27,11 +27,10 @@ structure-assets.md | Yes
structure-extensions.md | Yes structure-extensions.md | Yes
runtime-overview.md | Yes runtime-overview.md | Yes
runtime-bootstrapping.md | Yes runtime-bootstrapping.md | Yes
runtime-routing.md | Yes runtime-routing.md |
runtime-requests.md | Yes runtime-requests.md | Yes
runtime-responses.md | Yes runtime-responses.md | Yes
runtime-sessions-cookies.md | Yes runtime-sessions-cookies.md | Yes
runtime-url-handling.md |
runtime-handling-errors.md | Yes runtime-handling-errors.md | Yes
runtime-logging.md | Yes runtime-logging.md | Yes
concept-components.md | Yes concept-components.md | Yes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment