zoukankan      html  css  js  c++  java
  • Nginx(PHP/fastcgi)的PATH_INFO问题

    引用:

    http://www.laruence.com/2009/11/13/1138.html
    
    server {
            listen       80;
            server_name  localhost;
            index index.html index.htm index.php;
            root /alidata/www/pro;
            location ~ .*.(php|php5)?$
            {
                    #fastcgi_pass  unix:/tmp/php-cgi.sock;
                    fastcgi_pass  127.0.0.1:9000;
                    fastcgi_index index.php;
                    include fastcgi.conf;
            }
    
     location ~ .*.(php|php5)
            {
                    #fastcgi_pass  unix:/tmp/php-cgi.sock;
                    fastcgi_pass  127.0.0.1:9000;
                    fastcgi_index index.php;
                    include fastcgi.conf;
                    fastcgi_param PATH_INFO $fastcgi_script_name;
            }
    
  • 相关阅读:
    推箱子
    为textarea增加maxlength属性(转)
    validate
    keypress
    Knockout
    & replace &
    银联参数
    chinapay
    model binding
    JSON.stringify
  • 原文地址:https://www.cnblogs.com/bass6/p/5476713.html
Copyright © 2011-2022 走看看