DirectoryIndex index.php index.htm index.html
  
Options -Indexes   
Options +FollowSymLinks   
  
#ļеSSIָ   
Options +Includes   
  
#404500ҳ   
ErrorDocument 404 /404.htm   
ErrorDocument 500 /404.htm   
  
#Ŀ¼ҳ   
DirectoryIndex index.php   
order deny,allow   
  
RewriteEngine on   
  
#øĿ¼   
RewriteBase /kyphpfrm2.0/blog/ 

  
#ȥӵַindex.phpַ

RewriteCond %{REQUEST_FILENAME} !-f   
RewriteCond %{REQUEST_FILENAME} !-d   
RewriteRule ^([^?]+)$ index.php?_k_=$1 [L]   # PATH_KEY 5

RewriteCond %{REQUEST_FILENAME} !-f   
RewriteCond %{REQUEST_FILENAME} !-d   
RewriteCond $1 !^(index.php|images|robots\.txt)  
RewriteRule ^html/(.*)$ index.php?k=$1 [L]   # PATH_KEY 4
RewriteRule ^index.php\/(.*)$ index.php?k=$1 [L]   # PATH_KEY 1
RewriteCond %{REQUEST_FILENAME} !-f   
RewriteCond %{REQUEST_FILENAME} !-d   
RewriteRule ^(.*)$ index.php?k=$1 [L]   # PATH_KEY 2


 

