我在我的Windows R2服務器上使用iis中的php,默認localhost路徑爲C:\inetpub\wwwroot
,我想將其更改爲D,原因是C可能已滿。 感謝您的幫助。將iis localhost從C更改爲D:
0
A
回答
0
看here爲IIS6:
使用IIS管理
在IIS管理器更改網站的主目錄,展開本地計算機,展開Web站點目錄,右鍵 - 點擊您想要更改的網站,然後點擊 停止。
使用Windows資源管理器將LocalDrive:\ Inetpub \ Wwwroot目錄重命名爲您選擇的名稱。或者,您可以將整個\ Wwwroot目錄樹複製到新位置。
在IIS管理器中,右鍵單擊您的網站,然後單擊屬性。
單擊主目錄選項卡,並根據內容此資源應來自,單擊 位於此計算機上的目錄, 位於另一臺計算機上的共享,或重定向到URL,這取決於您的主目錄位於。
在本地路徑框中,鍵入目錄的路徑名稱,共享名稱或URL。
注意如果選擇在網絡共享目錄,則可能需要 輸入用戶名和密碼才能訪問該資源。 如果未指定其他帳戶 ,則IUSR_computername是使用的默認帳戶。如果您在服務器上使用具有管理憑證 的帳戶,則客戶端可以訪問服務器操作。這 嚴重危害您的網絡的安全。有關安全性的用戶權限看到 幫助,「安全性最佳做法」和支持中心的Windows Server更 信息2003
- 在IIS管理器,展開Web站點文件夾, - 點擊剛更改的網站,然後點擊開始。
0
是的,你可以做....只要做下面的步驟:
1. Open IIS Manager. For information about opening IIS Manager,
see Open IIS Manager (IIS 7).
2. In the Connections pane, expand the Sites node in the tree, and
then click to select the site in which you want to change the physical path
for virtual directory content.
3. In the Actions pane, click View Virtual Directories.
4. From the Virtual Directories page, select a virtual directory in the list.
5. In the Actions pane, click Basic Settings.
6. In the Physical path box, change the path of the virtual directory content.
7. Click OK.
相關問題
- 1. 將localhost更改爲域名
- 2. 將本地命名SQL實例從localhost \ sql05更改爲'localhost'
- 3. 將日期格式從d/m/Y更改爲Y-m-d
- 4. VBA將日期格式從D-M-Y更改爲M-D-Y
- 5. 更改爲不聽爲localhost
- 6. 將Localhost更改爲帶端口的IP
- 7. Node.js服務器從localhost更改爲apache
- 8. 將localhost:3000/users/1更改爲localhost:3000/members/1
- 9. 如何在php中將時間格式從M-d-Y更改爲Y-M-d?
- 10. 如何將apache2 127.0.0.1名稱從localhost更改爲另一個域?
- 11. 將SQL Server(express)從命名實例更改爲localhost?
- 12. Django不斷地將URL從http:// localhost /更改爲http://127.0.0.1:8080/
- 13. 需要將PortalAlias從網站url更改爲Dotnetnuke中的localhost
- 14. Teamcity將我的域名從localhost更改爲其他名稱
- 15. C#如何將CDROM的驅動器盤符從D:更改爲Z:
- 16. 將「/」更改爲「\」[C#]
- 17. 將IIS PreloadEnable更改爲全球真實
- 18. 降低一封信的價值,例如可以將'd'更改爲'c',但不能將'c'更改爲'd'。爲了形成迴文
- 19. IIS 7 - 從localNetwork更改爲defaultapppool?
- 20. 如何將Eclipse從Java更改爲C++?
- 21. 從IIS更改Global.asax變量
- 22. 如何將IIS Express運行時從4.0更改爲2.0?
- 23. 如何將IIS應用程序池從x64更改爲x86
- 24. vba更改$ c $ 3到$ d $ 3
- 25. Webdriver和Firefox將http:// localhost /更改爲http://localhost.com/ - 爲什麼?
- 26. Site.domain始終更改爲localhost:8000始終
- 27. WordPress的服務器更改爲localhost
- 28. 將struct更改爲C++類
- 29. 從C++更改爲perl
- 30. 更改日期從m/d/Y到m-d-Y