How to hide index.php on nginx

Comparing #11 with #12

Revision #12 was created by intel352 intel352 on Jun 16, 2011, 3:49:17 PM.

Added link to another how-to for Nginx

Content

_For a complete sample Nginx+PHP-FPM config, view this how-to: [Nginx & PHP-FPM](http://www.yiiframework.com/wiki/153/using-yii-with-nginx-and-php-fpm/)_
 
 
In order to use `path` URL format and hide index.php on nginx+fastcgi+php, we need the following configurations.

First, we need to add PATH_INFO to the server configuration. Otherwise, we will not be able to use `path` URL format in Yii:

~~~
location ~ \.php {
[...]