使用這個重寫規則給我一個500.我的語法有什麼問題?mod_rewrite錯誤
Options +FollowSymlinks
RewriteEngine on
RewriteBase/
RewriteRule ^microsites/(.*)$ /microsites/index.php?uID=$1 [L]
我想要做的就是靜靜地寫http://site.com/microsites/anythingatall到http://site.com/microsites/index.php?uID=anythingatall
編輯:下面的作品,並且不拋出錯誤
RewriteRule ^([0-9])$ /microsites/index.php?uID=$1 [L]
//結束編輯
感謝任何建議!
rewrite.log說什麼? – 2010-01-12 18:28:40
嗨泰勒,踢我添加了RewriteLog「/var/www/vhosts/site.com/rewrite.log」,但沒有記錄完成。似乎不太可能導致內部錯誤的htaccess能夠記錄該問題? – jerrygarciuh 2010-01-12 18:39:13