Nginx中ThinkPHP项目的伪静态设置
2023-06-02 13:18
APACHE
139
0
0
0
标题录入
封面图
Nginx中ThinkPHP项目的伪静态设置 nginx.htaccess ``` if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=/$1 last; } ``` nginx中的配置: ``` #nginx配置 location / { index index.html index.htm index.php l.php; autoindex on; if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=$1 last; break; } } ```
上一篇:
apach ssl.conf
下一篇:
什么是Apache web服务器?
标题录入,一次不能超过6条
孤独与无聊的定义
T:0.006630s,M:244.44 KB
返回顶部
留言
留言
评论