关闭与IIS文件夹浏览 [英] Turn off folder browsing with IIS

查看:398
本文介绍了关闭与IIS文件夹浏览的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用ASP.Net建立一个托管网站。我工作的一个更新,并希望在测试它域的子文件夹中安装它。我发表它使用VS 2010,但该网站将无法运行。我联系了供应商,他们做了一些改动。虽然网站来看,你必须在完整路径键入的Default.aspx查看主页面。如果我只是在键入路径到浏览器,期待它会查找和加载Default.aspx的,事实并非如此。相反,它示出了在浏览器窗口中的文件夹的内容。

I have a hosted web site built using ASP.Net. I was working on an update and wanted to install it in a sub folder of the domain to test it. I published it using VS 2010, but the site would not run. I contacted the vendor and they made some changes. Although the site run you must type in the full path to default.aspx to view the main page. If I just type the path in to the browser, expecting that it will find and load default.aspx, it does not. Instead it shows the folder contents in the browser window.

我再次联系供应商,他们说我必须使用IIS 7或以上关闭foder浏览自己或者他们能做到这一点,我为$ 95的一次性费用。我下载IIS和登录到我的域名,但我没有看到该文件夹​​所在的新网站。如果事实上,我没有看到我的任何文件夹或文件。我没有看到一个WWWRoot文件。我真的不知道我在寻找什么的。

I contacted the vendor again and they said I must use IIS 7 or above to turn off foder browsing myself or they could do it for me for one-time fee of $95. I downloaded IIS and logged in to my domain, but I don't see the folder where the new site is. If fact, I don't see any of my folders or files. I don't see a WWWRoot. I'm not really sure what I'm looking at.

我要如何找到在IIS中的文件夹?如果我能找到它,我看到关掉文件夹浏览的选项。

How do I find the folder in IIS? If I can find it I see the option to turn off folder browsing.

格雷格

推荐答案

启用或禁用目录浏览在IIS 7中

Enable or Disable Directory Browsing in IIS 7

https://technet.microsoft。 COM / EN-US /库/ cc731109%28V = ws.10%29.aspx

这篇关于关闭与IIS文件夹浏览的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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