我很困惑我的重寫規則的結果。我使用WAMP託管在本地機器上。奇怪的重寫(Apache mod_rewrite)
RewriteEngine on
RewriteBase /niklasrosenstein/
RewriteCond %{REQUEST_URI} !res/(.+)$
RewriteCond %{REQUEST_URI} !index.php$
RewriteRule ^(.*)$ index.php?uri=$1 [QSA]
要
擴展到
在瀏覽器'地址欄中。我已經火狐14,歌劇11.62和Internet Explorer 8
下測試它添加在URL的末尾斜線,這將是
是確定的。
有誰知道爲什麼在瀏覽器的地址欄中調整URL?我想用mod_rewrite的爲了擺脫模糊URL格式的,但這個問題實際上打破它下來..