Directory Listing Denied This Virtual Directory does not allow contents to be listed.
2013-04-17 14:32
302 查看
在访问一个网址(可以是一级网址如http://www.baidu.com/,也可以是二级网址如http://www.baidu.com/app/ 甚至更多级的网址)的时候,http网站服务器需要在该级目录下存在一个default.html或者index.html文件来作为主页显示给你看,如果不存在这个文件,那么就会把整个目录下的全部文件名等信息都列举出来给你看(默认的行为),但是很显然网站开发者不愿意让你知道他怎样开发和架构这个网站、使用了哪些文件,所以就从网站设置上关闭这个默认行为。于是你就看到那行英文信息,意思是: 列举目录被拒绝。本虚拟目录不允许其内容被列举显示。 另外:virtual的原因是因为网站的目录结构实际上是一个逻辑结构,由服务器指定哪些目录构成哪些不同的层次,跟这些内容在硬盘上的实际存储位置无关,所以叫“虚拟” 出现这个提示是指没有在您指定的目录找到默认首页,比如您直接输入域名访问空间, 但是出现以上提示,那么请检查在www目录下是否有 index.htm,index.html,index.asp,default.asp, default.htm等默认首页。 虚拟主机开通后默认自动生成下面几个默认首页,依次分别为index.asp,index.aspx,default.asp,deault.aspx,index.htm等等,您的首页必须是以上默认首页之一。这样才能自动找到该文件。
相关文章推荐
- 解决IIS错误:Directory Listing Denied This Virtual Directory does not allow contents to be listed.
- This Virtual Directory does not allow contents to be listed
- This Virtual Directory does not allow contents to be listed.
- yii2安装后报The file or directory to be published does not exist:path/vendor/bower/jquery/dist的问题
- The Web server is configured to not list the contents of this directory.
- 安装Winsip遇到的问题:network : network driver appears to not be serving this directory?
- ps_3_0 does not allow textures or samplers to be members of compound types
- How to Fix “HTTP Error 403.14 – Forbidden The Web server is configured to not list the contents of this directory”
- 报错: LINQ to Entities does not recognize the method...and this method cannot be translated into a sto
- iOS 5 does not allow to store downloaded data in Documents directory? ios5.0及以后的版本对于下载的文件存储路径有了改变
- VA番茄助手提示The security key for this program currently stored on your system does not appear to be vali
- IIS7.5+win7 The Web server is configured to not list the contents of this directory
- openshift:Perhaps your account does not have write access to this directory? You can change the cac
- VS 安装助手,弹出“The security key for this program currently stored on your system does not appear to be ”
- VS 安装助手,弹出“The security key for this program currently stored on your system does not appear to be ”
- yii2 The file or directory to be published does not exist
- 安装Yii碰到“the file or directory to be published does not exist bower/jquery/dist”
- yii2框架刚安装上报The file or directory to be published does not exist: /home/wwwroot/advanced/vendor/bower
- The service cannot be activated because it does not support ASP.NET compatibility. ASP.NET compatibility is enabled for this application. Turn off ASP.NET compatibility mode in the web.config or add the AspNetCompatibilityRequirements attribute to the ser
- qt this does not seem to be a debug build setting