#1 zhgzzy
我租的是IIS的空间httpd.ini
[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
For file-based wordpress content (i.e. theme), admin, etc.
For normal wordpress content, via index.php
RewriteRule /public/(.*) /public/$1 [L]
RewriteRule /images/(.*) /images/$1 [L]
RewriteRule /keditor/(.*) /keditor/$1 [L]
RewriteRule /404.html /404.html [L]
RewriteRule /robots.txt /robots.txt [L]
RewriteRule ^/$ /index.php [L]
RewriteRule /(.*) /index.php/$1 [L]
2010-08-27 14:58:36