php框架PATH_INFO模式配置

作者在 2013-01-26 03:49:34 发布以下内容
    if (!-e $request_filename) {
        rewrite ^.*$ /index.php last;
    }   
    location ~ \.php(/|$) {
        fastcgi_pass   127.0.0.1:9000;
        fastcgi_index  index.php;
        fastcgi_split_path_info ^(.+\.php)(.*)$;
        fastcgi_param PATH_INFO $fastcgi_path_info;
        include        fastcgi_params;
    }
PHP开发 | 阅读 2526 次
文章评论,共0条
游客请输入验证码
浏览2893838次
文章归档
最新评论
  • 静夜思:-1是多核
  • 时光拾荒者:CtrlCV还是强的😝
  • 硬识岩丝:解决了,太感谢了~