来自web.config的IIS虚拟目录 [英] IIS virtual directory from web.config

查看:228
本文介绍了来自web.config的IIS虚拟目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个IIS问题,我认为此博客为我提供了一个解决方案:

I have a IIS problem that I think this blog gives me a fix for:

要解决该问题,请右键单击虚拟目录-选择属性,然后单击应用程序"标签和文本框旁边的创建".它会 使用虚拟目录的名称自动创建应用程序".现在可以访问该应用程序了.

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文件来做同样的事情?

However I don't have access to the IIS GUI. Is there a way to do the same thing by editing the web.config file?

推荐答案

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

I'm afraid this isn't possible. Configuring a directory as an application, setting up the AppPool, etc is the responsibility of the web server. Typically your web hosting provider will offer a control panel that lets you configure the virtual directories. If not, you'll need to contact them through their support channels to have this done.

这篇关于来自web.config的IIS虚拟目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆