ubuntu12、php5、およびnginxで最初のfuelphpプロジェクトをセットアップしようとしています。http://ucf.github.io/fuelphp-crash-course/#Every_Building_Needs_A_Scaffoldのチュートリアルに従っています
私が抱えている問題は、アプリの URL にアクセスしようとしたときです。
http://localhost/public/messages
エラーは「ファイルが見つかりません」
私が使用している書き換えルールは
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;
}
助けてくれてありがとう