网站托管显示错误 [英] website hosting shows error

查看:133
本文介绍了网站托管显示错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在IIS管理器默认文档中放置了default.aspx页面.........现在它显示此错误.....



HTTP错误403.14 - 禁止

Web服务器配置为不列出此目录的内容。

详细错误信息

模块DirectoryListingModule

通知ExecuteRequestHandler

处理程序StaticFile

错误代码0x00000000

最有可能的原因:

A未为请求的URL配置默认文档,并且未在服务器上启用目录浏览。

您可以尝试的事项:

如果您不想启用目录浏览,确保配置了默认文档并且文件存在。

使用IIS管理器启用目录浏览。

打开IIS管理器。

In在功能视图中,双击目录浏览。

在目录浏览页面的操作窗格中,单击启用。

验证是否配置/system.webServer/directoryBrowse@enabled属性在站点或应用程序配置文件中设置为true。

链接和更多信息

当文档不是时会发生此错误在URL中指定,没有为网站或应用程序指定默认文档,并且未对网站或应用程序启用目录列表。此设置可能会被禁用以保护服务器的内容。





我在网站上放置了default.aspx页面。那么为什么它会这样显示.........

i placed a default.aspx page in IIS Manager default documents.........now it shows this error.....

HTTP Error 403.14 - Forbidden
The Web server is configured to not list the contents of this directory.
Detailed Error Information
Module DirectoryListingModule
Notification ExecuteRequestHandler
Handler StaticFile
Error Code 0x00000000
Most likely causes:
A default document is not configured for the requested URL, and directory browsing is not enabled on the server.
Things you can try:
If you do not want to enable directory browsing, ensure that a default document is configured and that the file exists.
Enable directory browsing using IIS Manager.
Open IIS Manager.
In the Features view, double-click Directory Browsing.
On the Directory Browsing page, in the Actions pane, click Enable.
Verify that the configuration/system.webServer/directoryBrowse@enabled attribute is set to true in the site or application configuration file.
Links and More Information
This error occurs when a document is not specified in the URL, no default document is specified for the Web site or application, and directory listing is not enabled for the Web site or application. This setting may be disabled on purpose to secure the contents of the server.


I placed a default.aspx page in the website.then why it is showing like this.........

推荐答案

你可以尝试删除IIS中显示的所有现有默认文件并添加默认值.aspx再次作为默认文档。
you can try deleting all the existing default documents displayed in the IIS and add the default.aspx again as a default document.


这篇关于网站托管显示错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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