使用VBScript重命名IIS中的虚拟目录? [英] Rename Virtual Directory in IIS using VBScript?
本文介绍了使用VBScript重命名IIS中的虚拟目录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用VBScript在IIS 6.0 / 7.0中重命名虚拟目录(或Web应用程序)?
How can I rename a Virtual Directory (or Web Application) in IIS 6.0/7.0 using VBScript?
推荐答案
如果你只想更改IIS 7中的站点名称。编辑 applicationHost.config
文件。
此文件位于 c:\ Windows \ system32 \inetsrv \ config \
If you just want to change the site name in IIS 7. Edit the applicationHost.config
file.
This file can be found in c:\Windows\System32\inetsrv\config\
查找并替换应用程序的名称。保存文件。如果重新启动IIS管理控制台,您将看到名称已更改。
Find and replace the name of the application. Save the file. And if you restart the IIS Management Console you will see the name has change.
这篇关于使用VBScript重命名IIS中的虚拟目录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文