我試圖建立在ubuntu12,PHP5和nginx的我的第一個fuelphp項目而言,我跟隨他們的http://ucf.github.io/fuelphp-crash-course/#Every_Building_Needs_A_ScaffoldNginx的Fuelphp虛擬主機配置 - 找不到文件
有被林當我試着去訪問我的應用程序URL的問題教程
http://localhost/public/messages
錯誤是 「找不到文件」
使用重寫規則IM是
root /path/to/project;
index index.php index.htm index.html;
location/{
try_files $uri $uri/ @handler;
expires 30d;
}
location @handler {
rewrite^/index.php?/$request_uri;
}
在此先感謝幫助
$ REQUEST_URI中已經有一個斜線。所以你不應該再添加一個。 –