2013-07-04 60 views
0

文件我用的.htaccess:允許服務器來讀取兩岸

RewriteEngine On 
RewriteRule phpMyAdmin/(.*)$ phpMyAdmin/$1 [L] 
RewriteRule img/(.*)$ img/$1 [L] 
RewriteRule css/(.*)$ css/$1 [L] 
RewriteRule js/(.*)$ js/$1 [L] 
RewriteRule robots.txt$ robots.txt$1 [L] ???? 
RewriteRule .* index.php 

熱水,讓閱讀的robots.txt海峽,它只能讀取的robots.txt不喜歡robots.txtasdfa,robots.txtttt網址.. ..? 感謝

回答

1

嘗試:

RewriteRule ^robots\.txt$ - [L] 
+0

謝謝你,這麼多! – user2301515