0
請幫我瞭解下面.htaccess代碼的含義。 它做它的每一行。這個.htaccess代碼的含義是什麼,它有什麼作用?
RewriteCond %{HTTP_USER_AGENT} ^$ [OR]
RewriteCond %{HTTP_USER_AGENT} (bot|crawl|robot)
RewriteCond %{HTTP_USER_AGENT} !(bing|Google|msn|MSR|Twitter|Yandex) [NC]
RewriteRule ^/?.*$ "http\:\/\/127\.0\.0\.1" [R,L]
RTMF:http://httpd.apache.org/docs/current/mod/mod_rewrite.html – starkeen
您是否試圖在mod_rewrite指令上搜索?網上有很多這樣的信息可以打破每條指令。 – shrmn
可能的重複[參考:mod \ _rewrite,URL重寫和「漂亮鏈接」解釋](http://stackoverflow.com/questions/20563772/reference-mod-rewrite-url-rewriting-and-pretty-links-explained ) – shrmn