The Web server is configured to not list the contents of this directory.

部署一个ASP.NET MVC网站至一个全新的服务器Windows Server 2008 R2, 数据为MS SQL Server 2014 64bit Expression版本。

运行时,它第一次显示出来是一个异常:

The Web server is configured to not list the contents of this directory.

解决方法:
打开站点根目录下的Web.config,添加下面节点信息:

<system.webServer>
    <modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
时间: 2024-12-09 23:59:59

The Web server is configured to not list the contents of this directory.的相关文章

How to Install Laravel with an Nginx Web Server on Ubuntu 14.04(Composer,laravel,nginx)

http://ubtutorials.com/tutorial/441/how-install-laravel-nginx-web-server-ubuntu-1404 https://github.com/huanghua581/laravel-getting-started/wiki/Ubuntu-14.04-%E4%B8%8A%E4%BD%BF%E7%94%A8-Nginx-%E9%83%A8%E7%BD%B2-Laravel http://www.ahlinux.com/ubuntu/2

Configure mutiple IBM HTTP Server / Other Apache based WEB server on 1 physical server (Section 1)

It's very simple to configure a IBM HTTP Server / Apache service on a server. But sometimes, considering the cost or any other reason, we need to share a physical server and configure 2 or more Web services. How to do it? Here I list out the major st

Configure mutiple IBM HTTP Server / Other Apache based WEB server on 1 physical server (Section 3)

This Section will continue the actual configure for IHS related files. 3) Copy the httpd.conf file to httpd2.conf, and modify them.   Now Virtual IP have been added, and it's port 80 have been released, so we can start to do some needed configure. Fi

Setting up Django and your web server with uWSGI and nginx

https://uwsgi.readthedocs.io/en/latest/tutorials/Django_and_nginx.html Setting up Django and your web server with uWSGI and nginx This tutorial is aimed at the Django user who wants to set up a production web server. It takes you through the steps re

Web Server PROPFIND Method internal IP Discosure

Title:Web Server PROPFIND Method internal IP Discosure  --2012-11-09 09:47 Nessus扫描出来一个安全缺陷,Web Server PROPFIND Method internal IP Discosure,CVE-2002-0422 用HTTP的PROPFIND方法,HOST为空,提交,会暴露真实WEB服务器内网的IP地址. http://web.nvd.nist.gov/view/vuln/detail?vulnId=

[r]Setting up Django and your web server with uWSGI and nginx

Setting up Django and your web server with uWSGI and nginx This tutorial is aimed at the Django user who wants to set up a production web server. It takes you through the steps required to set up Django so that it works nicely with uWSGI and nginx. I

android Http通信(访问web server)

下面将3种实现方式,以下代码有的来源于传智播客,有的自己琢磨的.在这感谢传智播客 本人开发使用的android studio,在最新版本中,android不在支持HttpClient,所以,要使用HttpClient要加载库文件. 1,compile 'org.apache.httpcomponents:httpclient:4.5.2' 或者 2,android { compileSdkVersion 23 buildToolsVersion '23.0.3' useLibrary 'org.

Using OAuth 2.0 for Web Server Applications, verifying a user&#39;s Android in-app subscription

在写本文之前先说些题外话. 前段时间游戏急于在GoolePlay上线,明知道如果不加Auth2.0的校验是不安全的还是暂时略过了这一步,果然没几天就发现后台记录与玩家实际付费不太一致,怀疑有玩家盗刷游戏元宝等,并且真实的走过了GooglePlay的所有支付流程完成道具兑换,时间一长严重性可想而知.经过查阅大量google官方文档后把代码补上,并在这里记录下OAuth 2.0 的使用,Google提供了OAuth2.0的好几种使用用途,每种使用方法都有些不同,具体可以看下这篇博客.在这里只写OAu

Apache Web Server 本地推送命令

/*****openssl 系统命令    x509输入文件类型       -in 是参数输入文件   -inform本地文件     -out是参数  是生成文件  ***/ openssl    x509  -in  *.cer  -inform  der  -out *.pem openssl  pkcs12  -nocets  -out  *.pem  -in  *.p12 /*****   >是 表示连接   ****/ cat  *.pem  *.pem  >  *.pem 在终