zvcore URL rewrite教程
Time: 2009-06-01 04:26 Category: Default Hits: 4 Comments: 0
zvcore URL伪装教程
在iis下面启用rewrite的方法
编辑httpd.ini文件
[ISAPI_Rewrite]
RepeatLimit 20
RewriteRule (?!\.(js|ico|gif|jpg|png|css|swf))$ /index.php
在apache下启用.htaccess
Options +FollowSymLinks
IndexIgnore */*
RewriteEngine on
# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# otherwise forward it to index.php
RewriteRule . index.php
|