|
本帖最后由 dai 于 2014-8-11 23:37 编辑
网上的例子看遍了- - 实在找不到解决的办法了,求大神帮我看看
我访问的连接 http://admin.jinri.info/admin.php/DaiLogin/showLogin
nginx的配置
server {
listen 80;
server_name jinri.info www.jinri.info;
charset utf-8;
index index.html index.htm index.php;
root /home/wwwroot;
location / {
index index.html index.htm index.php;
if (!-e $request_filename)
{
rewrite (.*) /index.php/$1 last;
}
}
location ~ .*\.(php|php5)?$
{
fastcgi_pass unix:/tmp/php-cgi.sock;
fastcgi_index index.php;
include fcgi.conf;
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ {
expires 30d;
}
location ~ .*\.(js|cs)?$ {
expires 12h;
}
}
nginx报错
2014/08/11 23:26:22 [notice] 7051#0: *892 "(.*)" matches "/admin.php/DaiLogin/showLogin", client: 122.234.233.171, server: jinri.info, request: "GET /admin.php/DaiLogin/showLogin HTTP/1.1", host: "jinri.info"
2014/08/11 23:26:22 [notice] 7051#0: *892 rewritten data: "/index.php//admin.php/DaiLogin/showLogin", args: "", client: 122.234.233.171, server: jinri.info, request: "GET /admin.php/DaiLogin/showLogin HTTP/1.1", host: "jinri.info"
2014/08/11 23:26:22 [notice] 7051#0: *892 "(.*)" matches "/index.php//admin.php/DaiLogin/showLogin", client: 122.234.233.171, server: jinri.info, request: "GET /admin.php/DaiLogin/showLogin HTTP/1.1", host: "jinri.info"
2014/08/11 23:26:22 [notice] 7051#0: *892 rewritten data: "/index.php//index.php//admin.php/DaiLogin/showLogin", args: "", client: 122.234.233.171, server: jinri.info, request: "GET /admin.php/DaiLogin/showLogin HTTP/1.1", host: "jinri.info"
2014/08/11 23:26:22 [notice] 7051#0: *892 "(.*)" matches "/index.php//index.php//admin.php/DaiLogin/showLogin", client: 122.234.233.171, server: jinri.info, request: "GET /admin.php/DaiLogin/showLogin HTTP/1.1", host: "jinri.info"
2014/08/11 23:26:22 [notice] 7051#0: *892 rewritten data: "/index.php//index.php//index.php//admin.php/DaiLogin/showLogin", args: "", client: 122.234.233.171, server: jinri.info, request: "GET /admin.php/DaiLogin/showLogin HTTP/1.1", host: "jinri.info"
2014/08/11 23:26:22 [notice] 7051#0: *892 "(.*)" matches "/index.php//index.php//index.php//admin.php/DaiLogin/showLogin", client: 122.234.233.171, server: jinri.info, request: "GET /admin.php/DaiLogin/showLogin HTTP/1.1", host: "jinri.info"
2014/08/11 23:26:22 [notice] 7051#0: *892 rewritten data: "/index.php//index.php//index.php//index.php//admin.php/DaiLogin/showLogin", args: "", client: 122.234.233.171, server: jinri.info, request: "GET /admin.php/DaiLogin/showLogin HTTP/1.1", host: "jinri.info"
2014/08/11 23:26:22 [notice] 7051#0: *892 "(.*)" matches "/index.php//index.php//index.php//index.php//admin.php/DaiLogin/showLogin", client: 122.234.233.171, server: jinri.info, request: "GET /admin.php/DaiLogin/showLogin HTTP/1.1", host: "jinri.info"
2014/08/11 23:26:22 [notice] 7051#0: *892 rewritten data: "/index.php//index.php//index.php//index.php//index.php//admin.php/DaiLogin/showLogin", args: "", client: 122.234.233.171, server: jinri.info, request: "GET /admin.php/DaiLogin/showLogin HTTP/1.1", host: "jinri.info"
2014/08/11 23:26:22 [notice] 7051#0: *892 "(.*)" matches "/index.php//index.php//index.php//index.php//index.php//admin.php/DaiLogin/showLogin", client: 122.234.233.171, server: jinri.info, request: "GET /admin.php/DaiLogin/showLogin HTTP/1.1", host: "jinri.info"
2014/08/11 23:26:22 [notice] 7051#0: *892 rewritten data: "/index.php//index.php//index.php//index.php//index.php//index.php//admin.php/DaiLogin/showLogin", args: "", client: 122.234.233.171, server: jinri.info, request: "GET /admin.php/DaiLogin/showLogin HTTP/1.1", host: "jinri.info"
2014/08/11 23:26:22 [notice] 7051#0: *892 "(.*)" matches "/index.php//index.php//index.php//index.php//index.php//index.php//admin.php/DaiLogin/showLogin", client: 122.234.233.171, server: jinri.info, request: "GET /admin.php/DaiLogin/showLogin HTTP/1.1", host: "jinri.info"
2014/08/11 23:26:22 [notice] 7051#0: *892 rewritten data: "/index.php//index.php//index.php//index.php//index.php//index.php//index.php//admin.php/DaiLogin/showLogin", args: "", client: 122.234.233.171, server: jinri.info, request: "GET /admin.php/DaiLogin/showLogin HTTP/1.1", host: "jinri.info"
2014/08/11 23:26:22 [notice] 7051#0: *892 "(.*)" matches "/index.php//index.php//index.php//index.php//index.php//index.php//index.php//admin.php/DaiLogin/showLogin", client: 122.234.233.171, server: jinri.info, request: "GET /admin.php/DaiLogin/showLogin HTTP/1.1", host: "jinri.info"解决地址:http://codeigniter.org.cn/forums/thread-7815-1-1.html
|
|