环境:宝塔Linux面板+系统: BT-Panel 5.2.0 +Nginx 1.12+ PHP5.4
记得用gbk解压 txt文本编码 ansi
伪静态
Linux伪静态规则
location / {
if (!-e $request_filename){
rewrite ^/(.*)$ /404.php?$1 last;
}
}
apache伪静态规则
ErrorDocument 404 /404.php
链接: https://pan.baidu.com/s/16HM6n8iCp504nx7DGdfdSg 提取码: j36s
评论抢沙发