征服天堂

Just do it!
文章标签 ‘CodeIgniter’

在CodeIgniter框架下,http://localhost/index.php可以正常访问

但这样访问时http://localhost/index.php/welcome/页面报错500 Internal Server Error

查看nginx错误日志发现

open() “/usr/share/nginx/test/index.html” failed (2: No such file or directory)

居然访问的是index.html而不是index.php
[……]阅读全文