Difference between #8 and #9 of
How to hide index.php on nginx

Revision #9 has been created by blindMoe on Sep 10, 2010, 5:08:01 PM with the memo:

Completed added location block
« previous (#8) next (#10) »

Changes

Title unchanged

How to hide index.php on nginx

Category unchanged

Tutorials

Yii version unchanged

Tags unchanged

Content changed

[...]
Second, we need the following rewrite rule to hide `index.php`:

nginx versions .7 and higher:

~~~
location /yiiGuestbook {
 
    
try_files $uri $uri/ /yiiGuestbook/index.php?r=$request_uri; }
 
~~~

nginx versions prior to .7:

~~~
location /yiiGuestbook {
[...]
4 0
12 followers
Viewed: 63 035 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

Revisions

View all history