[ISAPI_Rewrite]# 3600 = 1 hour
CacheClockRate 3600RepeatLimit 32# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
RewriteRule ^(.*)/index\.html\?*(.*)$ $1/index.php这个是部分的伪静态,
我只是想让首页index.php显示成index.html
有错么?上半部分是空间服务商提供的,应该不会错。
就是下面的这个
CacheClockRate 3600RepeatLimit 32# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
RewriteRule ^(.*)/index\.html\?*(.*)$ $1/index.php这个是部分的伪静态,
我只是想让首页index.php显示成index.html
有错么?上半部分是空间服务商提供的,应该不会错。
就是下面的这个
RewriteRule ^(.*)/index\.html\?*(.*)$ $1/index.php
换为:
RewriteRule /index.html /index.php [N,I]
进入后台那个文件显示的是index.html但是未重启服务器,别的index.php页面也未曾出现这样的情况