0
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^files/(.*) files/index.php
RewriteCond %{HTTP_HOST} ^domain\.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]
我試圖重寫文件目錄的index.php這也是在文件目錄的一切。該頁面顯示,但始終給出500錯誤,任何人都可以幫助我嗎?重寫規則給出了500錯誤
完美的作品,我也是固定的東西,但你的代碼運行完美,非常感謝你! – 2012-02-16 19:44:27
@NicholasEvm歡迎 – ThinkingMonkey 2012-02-16 19:48:42