0
我的服務器中有index.php和logo.gif文件。 我需要將顯示地址的方式從example.com/?nr=33&id=foo
更改爲example.com/33/foo
或example.com/33/foo/
。我輸入.htaccess
此代碼 RewriteRule ^([^-]+)/([^-]+)$ /?nr=$1&id=$2 [L]
。mod_rewrite而不顯示圖片
它幾乎可以工作,但是當我使用example.com/33/foo
logo.gif(在index.php中使用)消失在瀏覽器中。你能告訴我錯誤嗎?