kuku 发表于 2011-4-28 09:57:47

httpd.ini转成.htaccess,哪位朋友帮忙转换一下,万分感激

现在的httpd.ini规则如下:


# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32

RewriteEngine On
RewriteRule ^(.*)/(html|list)/(.*).html$ $1/index\.php/$2/$3
RewriteRule ^(.*)/tags/(.*)\?*(.*)$ $1/index\.php/tags/$2$3

现在对应的有一则.htaccess规则,但是规则在linux主机环境下无效
RewriteEngine On
RewriteBase /
RewriteRule ^index.html$ index.php
RewriteRule ^list/(.*).html$ index.php/list/$1
RewriteRule ^html/(.*).html$ index.php/html/$1
RewriteRule ^tags/(.*)/(.*).html$ index.php/tags/$1/$2
RewriteRule ^tags/(.*)/$ index.php/tags/$1

order allow,deny
deny from all

我自己也试着改了下,最终还是不行
哪位朋友帮忙看看,万分感激
页: [1]
查看完整版本: httpd.ini转成.htaccess,哪位朋友帮忙转换一下,万分感激