.htaccess转成httpd.ini怎么处理?急!急!!
45Ter 2010-06-04 08:53:42 网站需要伪静态化,请高手帮忙看下如何将.htaccess转成httpd.ini规则,网站只支持httpd.ini的,急!
.htaccess写法是:
RewriteEngine On
RewriteBase /
ErrorDocument 404 http://sh.mofang.cn/err.php
RewriteRule ^index\.html$ index.php
RewriteRule ^(\w+)/(\w+)_(\d+)\.html$ $1/$2.php?id=$3
RewriteRule ^fashion/(\d+)\.html$ fashion/fashiondetail.php?id=$1
RewriteRule ^news/(\d+)\.html$ news/newsdetail.php?id=$1
RewriteRule ^(\w+)/(\w+)\.html$ $1/$2.php