oelove交友程序4.6免费版 nginx伪静态规则,求大神分享一个

2018-01-30 17:31

oelove交友程序4.6免费版 nginx伪静态规则,求大神分享一个

拜谢大神。

3193 次浏览 4 条评论 收藏

说说我的看法

登录后可以发表评论 登录
4个评论
-- 2019-09-22 14:17
有apache的吗
回复
-- 楼主 2018-01-31 19:11
[quote=Lee,170413]rewrite ^/index.html$ /index.php last;
rewrite ^/wap$         /wap.php last;
rewrite ^/home/([0-9]+)$ /index.php?c=hom...[/quote] 是直接修改.htaccess 文件内容就行了,还是修改了之后文件名也要修改,麻烦大神告知一下。
回复
-- 楼主 2018-01-31 19:08
[quote=Lee,170413]rewrite ^/index.html$ /index.php last;
rewrite ^/wap$         /wap.php last;
rewrite ^/home/([0-9]+)$ /index.php?c=hom...[/quote] 多谢
回复
Lee 官方认证帐号 2018-01-31 08:37
rewrite ^/index.html$ /index.php last;
rewrite ^/wap$         /wap.php last;
rewrite ^/home/([0-9]+)$ /index.php?c=home&uid=$1 last;
rewrite ^/info/([0-9]+).html$ /index.php?c=info&a=detail&id=$1 last;
rewrite ^/weibo/([0-9]+).html$ /index.php?c=weibo&a=detail&id=$1 last;
rewrite ^/party/([0-9]+).html$ /index.php?c=party&a=detail&id=$1 last;
rewrite ^/diary/([0-9]+).html$ /index.php?c=diary&a=detail&id=$1 last;
rewrite ^/about/([0-9]+).html$ /index.php?c=about&a=detail&id=$1 last;
rewrite ^/case/([0-9]+).html$ /index.php?c=case&a=detail&id=$1 last;
rewrite ^/safety/([0-9]+).html$ /index.php?c=safety&a=detail&id=$1 last;
回复
作者信息

3
贴子
0
粉丝
热门贴子

免费试用


咨询热线


在线咨询