2011-01-13 68 views
0

我有一個名爲index.xml的xml文件 這是在我的網站這裏:www.mywebsite.com/siteregistry/index.xml 當用戶訪問這樣的網站:www.mywebsite.com/siteregistry /有一個頁面「FORBIDDEN」;但是,如果用戶轉到此鏈接:www.mywebsite.com/siteregistry/index.xml,他們會看到所有的url鏈接。網絡服務器文件夾註冊表

我怎麼能強迫www.mywebsite.com/siteregistry/顯示相同的文件,因爲這: www.mywebsite.com/siteregistry/index.xml

我想在邏輯上這個環節www.mywebsite.com/siteregistry /正在尋找一個index.html或index.php,我如何將index.xml包含到混合中?

非常感謝

回答

0

您可以嘗試添加它作爲IIS中的默認文檔?

例如,你有哪些index.html和default.aspx可以添加xml文件?

+0

我沒有使用IIS。我使用的是hostserver,沒有IIS。 – NULL 2011-01-13 14:01:11