#1 chouming
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?$1 [L]
以上代码,只是为了屏蔽index.php吗?还是将c=main&a=index 转换成main/index?
2010-07-20 10:56:57
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?$1 [L]
2010-07-20 10:56:57
2010-07-20 10:58:14
2010-07-20 11:00:21
2010-07-20 11:28:37
2010-07-20 14:20:07