2014-01-16 69 views
0

我有,這個代碼在htaccess文件:顯示索引網址

DirectoryIndex boot.php 
RewriteEngine On 
RewriteRule pick.dll boot.php 
在我的網站的網址

所以,我沒有看到pick.dll和我不」的boot.dll看不到什麼,爲什麼..誰擁有代碼爲什麼htaccess的隱藏文件:

DirectoryIndex boot.php 

我怎樣才能解決這個問題,顯示網址是什麼?

回答

0

如果你想顯示在瀏覽器的URL boot.php然後使用重寫規則與R標誌:

DirectoryIndex boot.php 

RewriteEngine On 
RewriteRule ^pick\.dll$ /boot.php [L,R] 
+0

這種方法好好嘗試一下工作和URL繼續隱患! – user3177502

+0

當你試圖打開'http:// domain.com/boot.php'' boot.php'仍然或者離開時會發生什麼? – anubhava

+0

當我把它www.mysite.com/boot.php,該網址繼續在boot.php,所以當我打開這個網址www.mysite.com/該網址不顯示任何東西只有www.mysite.com – user3177502