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

Changes

Title unchanged

How to hide index.php on nginx

Category unchanged

Tutorials

Yii version unchanged

Tags unchanged

URL

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:
[...]
[Russian version](http://dbhelp.ru/nginx-good-urls/page/)

[Chinese version](http://
projects.ourplanet.tk/node/81www.itkuaixun.com/bbs/thread-190-1-1.html) FYI, it is good practice to have your 'root' declaration outside of the location blocks. Please refer to this article if you are new to nginx: [nginx-pitfalls] (http://wiki.nginx.org/Pitfalls)
 
 
4 0
12 followers
Viewed: 91 789 times
Version: 1.1
Category: Tutorials
Tags: URL
Written by: miles
Last updated by: Darwin Wen
Created on: Feb 20, 2009
Last updated: 12 years ago
Update Article

Revisions

View all history