全球主机交流论坛

标题: httpd.ini转成.htaccess,哪位朋友帮忙转换一下,万分感激 [打印本页]

作者: kuku    时间: 2011-4-28 09:57
标题: httpd.ini转成.htaccess,哪位朋友帮忙转换一下,万分感激
现在的httpd.ini规则如下:
[ISAPI_Rewrite]

# 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
<Files .htaccess>
order allow,deny
deny from all  
</Files>
我自己也试着改了下,最终还是不行
哪位朋友帮忙看看,万分感激




欢迎光临 全球主机交流论坛 (https://loc.1226.eu.org/) Powered by Discuz! X3.4