Joomla 2.5,PHP 5.3.3(fpm-fcgi),nginx 1.4.2
Nginx正在运行,我可以访问我的网站的主页和其他网站的URL结束index.php就好了。
但是,当我浏览到一个Joomla类别的URL的forms是: http : //www.mysite.com/index.php/features/modules我总是得到一个404。
文章似乎也很好(formshttp://www.mysite.com/index.php?Itemid=404 )它似乎是“index.php”不涉及的类别。
任何人都可以build议我需要添加到我的nginx conf来解决这个问题吗?
谢谢,
史蒂夫
使用Nginx,您需要修改默认configuration文件以包含:
location / { try_files $uri $uri/ /index.php?q=$request_uri; }
这使得Joomla中的SEF URL可以工作。