来自 web.config 的 IIS 虚拟目录

标签 iis web-config virtual-directory

我认为我有 IIS 问题 this blog给我一个修复:

To resolve it, Right Click on the virtual directory - select properties and then click on "Create" next to the "Application" Label and the textbox. It will automatically create the "application" using the virtual directory's name. Now the application can be accessed.

但是我无权访问 IIS GUI。有没有办法通过编辑 web.config 文件来做同样的事情?

最佳答案

恐怕这是不可能的。将目录配置为应用程序、设置 AppPool 等是 Web 服务器的责任。通常,您的网络托管服务提供商会提供一个控制面板,让您配置虚拟目录。如果没有,您需要通过他们的支持 channel 与他们联系以完成此操作。

关于来自 web.config 的 IIS 虚拟目录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/748772/

相关文章:

node.js - iisnode 不会运行 Express

windows - 除了从一个定义的 IP 之外,是否热阻止对 IIS 上 ASP.NET 站点中定义的 URL 的页面的访问?

web.config 中的 IIS 重写规则将 HTTPS 请求重定向到 HTTP

c# - 在 IIS7 中以编程方式为虚拟目录启用 BITS 上传

windows - XP/Vista/Win7 中的同时连接

web-config - web.config header 大小限制是否会覆盖注册表中的 http.sys 限制?

msbuild - 为什么这个 web.config 转换说它找不到 applicationSettings 元素?

asp.net - IIS 中的子网站 - ASP.NET

asp.net-mvc - 缺少尾部斜杠的虚拟目录

asp.net - 在 IIS 中的 .aspx 页面中使用 Python