伪静态规则文件httpd.ini

/ 25评 / 0

      啥也不说了,本站用的伪静态规则,需要的拿走吧!

[ISAPI_Rewrite]
# Defend your computer from some worm attacks
#RewriteRule .*(?:global.asa|default\.ida|root\.exe|\.\.).* . [F,I,O]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
# Rules to ensure that normal content gets through

RewriteRule /post/tag/(.*) /index\.php\?tag=1
RewriteRule /software-files/(.*) /software-files/
1 [L]
RewriteRule /images/(.*) /images/$1 [L]
RewriteRule /sitemap.xml /sitemap.xml [L]
RewriteRule /favicon.ico /favicon.ico [L]

# For file-based wordpress content (i.e. theme), admin, etc.
RewriteRule /wp-(.*) /wp-1 [L]
# For normal wordpress content, via index.php
RewriteRule ^/
/index.php [L]
RewriteRule /(.*) /index.php/$1 [L]

  1. 忧零说道:

    学习啦 :嘻:

  2. Jackey说道:

    貌似不支持中文字符吧?

  3. 小杜博客说道:

    呵呵,来支持下,我也用为静态,收录好点

  4. 集趣说道:

    咱们用的是linux系统哦

  5. 灵亦rEd说道:

    你文章下面那个
    你感兴趣的怎么弄 :强:

  6. 说道:

    我以为我会做个沙发呢,我汗

  7. Tony说道:

    :嘻: 伪静态好看点!

  8. 徐炜说道:

    我都被这个静态弄得没有脾气了~算了,不弄了,反正也是伪静态,对加载速度,没有影响的

  9. 灵亦rEd说道:

    :汗: 看不懂

Comments have been closed.