查看全部评分
linji
使用道具 举报
######------ 2.0.87->2.0.89更新内容: * 修正.htaccess伪静态文件失效的问题(新增加的bug) * 当PHP文件不存时,返回404错误,而非403错误
location ~* \.(php[3-9]?|phtm[l]?)(\/.*)*$ { fastcgi_pass 127.0.0.1:8999; if ($request_filename ~* (.*)\.(php[3-9]?|phtm[l]?)) { set $lum_php_filename $1.$2; } if (!-f $lum_php_filename) { return 403; } include enable_php.conf; }
location ~* \.(php[3-9]?|phtm[l]?)(\/.*)*$ { if (!-f $request_filename) { return 404; } fastcgi_pass 127.0.0.1:8999; include enable_php.conf; }
本版积分规则 发表回复 回帖后跳转到最后一页
手机版|小黑屋|Archiver|URLOS ( 粤ICP备18087780号 )
GMT+8, 2025-5-12 11:48 , Processed in 0.042071 second(s), 25 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.