Difference between #11 and #12 of
How to hide index.php on nginx

Revision #12 has been created by intel352 on Jun 16, 2011, 3:49:17 PM with the memo:

Added link to another how-to for Nginx
« previous (#11) next (#13) »


Title unchanged

How to hide index.php on nginx

Category unchanged


Yii version unchanged

Tags unchanged


Content changed

_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 {
4 0
Viewed: 63 094 times
Version: 1.1
Category: Tutorials
Tags: URL
Written by: miles
Last updated by: Darwin Wen
Created on: Feb 20, 2009
Last updated: 6 years ago
Update Article


View all history