gpt4 book ai didi

iis - 从 C : to D: 更改 iis localhost

转载 作者:行者123 更新时间:2023-12-03 20:20:37 25 4
gpt4 key购买 nike

我在 Windows R2 服务器的 iis 中使用 php,默认本地主机路径是 C:\inetpub\wwwroot我想将其更改为 D,因为 C 可能已满。
谢谢您的帮助。

最佳答案

here对于 IIS6:

To change the home directory of a Web site using IIS Manager

  1. In IIS Manager, expand the local computer, expand the Web Sites directory, right-click the Web site you wish to change, and clickStop.

  2. Use Windows Explorer, to rename the LocalDrive:\Inetpub\Wwwroot directory to the name of your choice. Alternatively, you can copy theentire \Wwwroot directory tree to a new location.

  3. In IIS Manager, right-click your Web site, and click Properties.

  4. Click the Home Directory tab, and under The content for this resource should come from, click A directory located on this computer,A share located on another computer, or A redirection to a URL,depending on where your home directory is located.

  5. In the Local path box, type the path name, share name, or URL of your directory.

Note If you select a directory on a network share, you might needto enter a user name and password to access the resource.IUSR_computername is the default account used if another account isnot specified. If you use an account with administration credentialson the server, clients can gain access to server operations. Thisseriously jeopardizes the security of your network. For moreinformation on security user rights see, "Security Best Practices" inHelp and Support Center for Windows Server 2003.

  1. In IIS Manager, expand the Web Sites folder, right-click the Web site you just changed, and click Start.

关于iis - 从 C : to D: 更改 iis localhost,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27814021/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com