[問題] htaccess的redirect 問題(R / L)
目前我是想把某一個目錄下全部關掉,導到其中一個檔案,
RewriteRule ^(.*)$ end.htm [L]
這樣可以成功,
可是若把L改成R
RewriteRule ^(.*)$ end.htm [R]
瀏覽器的網址就會變成這樣,他會把該檔案的絕對路徑接上去...
http://test.com/test/C:/Apache%20x64/www/test/end.htm
我是用Apache x64 on Windows
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 123.204.86.9
→
02/28 02:52, , 1F
02/28 02:52, 1F