.htaccess转httpd.ini 求高手帮忙

来求解的 发布于 2014/10/16 15:01
阅读 257
收藏 0
RewriteEngine on
RewriteRule ^([0-9a-zA-Z_]+)/([0-9]+).html index.php?mod=$1&act=$2
RewriteRule ^([0-9]+)-(.*) index.php?mod=package&act=$1&u=$2
RewriteRule ^notice/list/([0-9]+)_([0-9]+).html index.php?mod=notice&act=list&class=$1&page=$2
RewriteRule ^notice/([0-9]+)_([0-9]+).html index.php?mod=notice&act=$1&page=$2
RewriteRule ^faq/list/([0-9]+).html index.php?mod=faq&act=list&page=$1
RewriteRule ^comment/([0-9a-zA-Z_]+)/([0-9]+).html index.php?mod=comment&act=$1&id=$2
RewriteCond %{HTTP_HOST} ^baidu.com$
RewriteRule ^/?$ "http\:\/\/www\.baidu\.com\/" [R=301,L]
加载中
返回顶部
顶部