噠啦噠啦噠...計算中...計算中...啟動序列 42...

啵啵嗶嗶啵… 機器人自動化中… 此網頁是經由機器人自動翻譯成您的本地語言。某些翻譯可能還不盡完善,我們需要您的幫助!使用頁面底部的按鈕告訴我們本文是否有幫助。 前往英語版本
變更您的預設/索引檔案 (Windows)
訪客到您的網站時,就會顯示您的主機帳戶預設檔案。如需詳細資訊,請參閱有人瀏覽至我的網域名稱時顯示哪些檔案?
主機帳戶執行 IIS 7 Using Windows®,您可指定與您的網站預設檔案使用 web.config
檔案。
若要變更您的網站預設檔案,包括在下列程式碼您 web.config
檔案:
<configuration> <system.webServer> <defaultDocument enabled="true"> <files> <add value="file name.file extension" /> </files> </defaultDocument> </system.webServer> </configuration>
例如,而不使用預設 index.html
,您無法建立您的網站預設檔案 example.html
下列程式碼:
<configuration> <system.webServer> <defaultDocument enabled="true"> <files> <add value="example.html" /> </files> </defaultDocument> </system.webServer> </configuration>