2013-01-17 74 views

回答

1

試試這個:

AddDefaultCharset UTF-8 
RewriteEngine on 

RewriteCond %{REQUEST_URI} !^(index\.php|images|test|css|js|files|wiki|sitemap\.xml|robots\.txt|favicon\.ico) 
RewriteRule ^(.*)$ index.php/$1 [L] 

Options All -Indexes 
  • 最後一行應修復列表,使用請求URI的條件應該可以解決重寫。