http://10.18.5.83:8080/ 浏览报错:A default document is not configured for the requested URL, and directory browsing is not enabled on the server
http://10.18.5.83:8080/ 浏览报错:A default document is not configured for the requested URL, and directory browsing is not enabled on the server.
详细:
•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. 1.Open IIS Manager.
2.In the Features view, double-click Directory Browsing.
3.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.
解决:
IIS 选择网站- 右侧,点击【 Directory Browing】 -features View 页 ,右侧 Actions, 点击 Enable。即可