我有這個網址,我想使友好,使用上.htacess重寫,但它給我一個錯誤(500內部服務器錯誤),這是我的原單的PHP網址htaccess重寫給我500錯誤?
http://www.example.com/viewtopic.php?topic=lovetopic
我想將其更改爲這樣的:
http://www.example.com/lovetopic
,這是我的整個htaccess的代碼是這樣的:
RewriteEngine On
RewriteRule ^user/([^/]*)$ /viewprofile.php?user=$1 [L]
RewriteRule ^([^/]*)$ /viewtopic.php?topic=$1 [L]
我不知道是什麼問題
編輯服務器錯誤日誌是給我這個錯誤
[Thu Oct 14 20:34:36 2010] [error] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.,
您是否檢查編輯日誌? – 2010-10-14 19:34:09
我把什麼服務器錯誤日誌給我了,謝謝:)) – getaway 2010-10-14 19:37:53
因爲我把主題URL的重寫,它一直給我這500個內部錯誤 – getaway 2010-10-14 19:38:44