ThinkPHP33 Nginx pathinfo & URL重写
程序员文章站
2024-01-01 20:39:40
...
server {
listen80;
server_name 192.168.33.10 dev.me;
root /var/www/html;
indexindex.php index.html;
client_max_body_size 25M;
error_log /var/log/nginx/error.log;
access_log /var/log/nginx/access.log;
location / {
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=$1last;
break;
}
}
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi.conf;
}
}
').addClass('pre-numbering').hide();
$(this).addClass('has-numbering').parent().append($numbering);
for (i = 1; i ').text(i));
};
$numbering.fadeIn(1700);
});
});
以上就介绍了 ThinkPHP33 Nginx pathinfo & URL重写,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。
推荐阅读
-
ThinkPHP33 Nginx pathinfo & URL重写
-
thinkpad win7 oem 让Nginx支持ThinkPHP的URL重写和PATHINFO的方法分享
-
浅析ThinkPHP中的pathinfo模式和URL重写
-
nginx支持codeigniter的pathinfo模式url重写配置写法示例
-
ThinkPHP中pathinfo的访问模式、路径访问模式及URL重写总结
-
在nginx中配置pathinfo模式支持thinkphp的URL重写
-
Nginx下配置pathinfo及ThinkPHP的URL Rewrite模式支持
-
Ubuntu下Nginx配置ThinkPHP的Pathinfo和URl Rewrite模式
-
浅析ThinkPHP中的pathinfo模式和URL重写
-
nginx配置url重写