|
发表于 2009-8-13 17:16:25
|
显示全部楼层
代码有问题,
我给你贴正常的.
<IfModule mod_rewrite.c>
<Files ~ "^.(htaccess|htpasswd)$">
deny from all
</Files>
Options -Indexes
Options +FollowSymLinks
Options +Includes
DirectoryIndex index.php
order deny,allow
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^index.php
RewriteRule ^(.*)$ index.php?$1 [L]
</IfModule> |
|