AMH 社区首页
AMH社区 - 开放自由有价值的社区
[求助帖] htaccess转nginx规则失败 |
|
---|---|
:wq |
:wq 发表于 2014-12-25 17:37:47
http://amh.sh/bbs/post-221-1-1.htm
照着这篇帖子操作,网页依旧还是404。。。怎么破?
点赞,加油! (0分)
2014-12-25 17:37:47 1
|
:wq |
RewriteEngine On
# 安装目录路径 RewriteBase / RewriteRule ^gbook$ /index.php/gbook RewriteRule ^user$ /index.php/user RewriteRule ^page(.*)$ /index.php/page$1 RewriteRule ^opt(.*)$ /index.php/opt$1 # 歌曲伪静态 RewriteRule ^dance(.*)$ /index.php/dance$1 # 歌手伪静态 RewriteRule ^singer(.*)$ /index.php/singer$1 # 视频伪静态 RewriteRule ^vod(.*)$ /index.php/vod$1 # 文章伪静态 RewriteRule ^news(.*)$ /index.php/news$1 # 专集伪静态 RewriteRule ^topic/(.*)$ /index.php/zj/$1 RewriteRule ^zj/(.*)$ /index.php/zj/$1 # 会员主页伪静态 RewriteRule ^music(.*)$ /index.php/music$1 RewriteRule ^news(.*)$ /index.php/news$1 RewriteRule ^vod(.*)$ /index.php/vod$1 RewriteRule ^feed(.*)$ /index.php/feed$1 RewriteRule ^friend(.*)$ /index.php/friend$1 RewriteRule ^fans(.*)$ /index.php/fans$1 RewriteRule ^funco(.*)$ /index.php/funco$1 RewriteRule ^fav(.*)$ /index.php/fav$1 RewriteRule ^down(.*)$ /index.php/down$1 RewriteRule ^gbook(.*)$ /index.php/gbook$1 RewriteRule ^home(.*)$ /index.php/home$1 RewriteRule ^piclook(.*)$ /index.php/piclook$1 htaccess规则如上,怎么转conf
回复
2014-12-25 17:38:55 2
|