服务热线
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^/$ /index\.php [L]
RewriteRule ^/(.*)\.php$ /$1\.php [L]
RewriteRule ^/admin/(.*)$ /admin/$1 [L]
RewriteRule ^/index/(.*)$ /index/$1 [L]
RewriteRule ^/data/(.*)$ /data/$1 [L]
RewriteRule ^/includes/(.*)$ /includes/$1 [L]
RewriteRule ^/install/(.*)$ /install/$1 [L]
RewriteRule ^/statics/(.*)$ /statics/$1 [L]
RewriteRule ^/install\.php/(.*)$ /install\.php/$1 [L]
RewriteRule ^/index\.php(.*)$ /index\.php$1 [L]
RewriteRule ^/bdunion\.txt$ /bdunion\.txt [L]
RewriteRule ^/admin\.php\?(.*)$ /admin\.php\?$1 [L]
RewriteRule ^/(.*)$ /index\.php/$1 [L]
把以上规则内容保存为httpd.ini 放到程序根目录下,同时配合ISAP_Rewrite(2.7版本以及以上)组件,即可完美支持伪静态!