2024-12-07 23:11:43 | 我爱编程网
root /home/wwwroot/tpzy62/;#你的根路径
location / {
root /home/wwwroot/tpzy62/;#你的根路径
index index.html index.htm index.php;
if (!-e $request_filename) {
rewrite ^/index.php(.*)$ /index.php?s=$1 last;
rewrite ^(.*)$ /index.php?s=$1 last;
break;
}
}
我爱编程网(https://www.52biancheng.com)小编还为大家带来php中重写里面RewriteCond %{REQUEST_FILENAME} !-f是什么意思的相关内容。
RewriteCond 重写条件2025-02-01 20:24:39
2024-01-05 14:11:24
2025-02-12 03:21:37
2025-02-10 15:19:48
2025-01-28 17:58:32
2024-11-22 05:08:01