2016-08-13 37 views
0

請幫我解決我的.htaccess錯誤時返回錯誤500我的htaccess文件有什麼錯誤?

Options -MultiViews 
RewriteEngine On 

RewriteBase /mvc/public 

RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d 

RewriteRule ^(.+)$ index.php?url=$1 [SQA,L] 
+0

你可以添加細節什麼是你的htaccess的預期行爲 – error2007s

+0

感謝KOY CoderDude Twodee。 –

回答

1

問題是與你的重寫規則標記。 SQA是不是一個有效的標誌,但我假設你的意思QSA,所以更改SQA,L到QSA,L:

RewriteRule ^(.+)$ index.php?url=$1 [SQA,L]