简体   繁体   English

更改SSL网站的Web.Config

[英]Changing Web.Config for SSL Website

Hello: 你好:

I have a SSL Website with port: 99. In my web.config what and where changes I have to make in order to get through this SSL Port? 我有一个SSL网站,端口:99。在我的web.config中,为了通过此SSL端口,我必须进行哪些更改以及在何处进行更改?

This is my Web.Config File: 这是我的Web.Config文件:

<?xml version="1.0"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->
<configuration>
  <configSections>
    <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
      <section name="Test.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
    </sectionGroup>
  </configSections>
  <connectionStrings>
  </connectionStrings>
  <system.web>
    <compilation debug="false" targetFramework="4.0" />
    <authentication mode="Forms">
      <forms loginUrl="Default.aspx" timeout="2880" />
    </authentication>
    <membership>
      <providers>
        <clear/>
        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices"
             enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
             maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
             applicationName="/" />
      </providers>
    </membership>
    <profile>
      <providers>
        <clear/>
        <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
      </providers>
    </profile>
    <roleManager enabled="false">
      <providers>
        <clear/>
        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" />
        <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
      </providers>
    </roleManager>
  </system.web>
  <system.webServer>
    <security>
      <access sslFlags="Ssl"/>
       </security>
     <modules runAllManagedModulesForAllRequests="true"/>
  </system.webServer>
</configuration>

The site is showing me this err: 该网站向我显示此错误:

The page cannot be displayed You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow 无法显示该页面您试图从不允许的目录中执行CGI,ISAPI或其他可执行程序

programs to be executed. 要执行的程序。

Please try the following: •Contact the Web site administrator if you believe this directory should allow execute access. 请尝试以下操作:•如果您认为该目录应允许执行访问,请与网站管理员联系。 HTTP Error 403.1 - Forbidden: Execute access is denied. HTTP错误403.1-禁止:执行访问被拒绝。

Internet Information Services (IIS) Internet信息服务(IIS)

This is how my IIS 6.0 settings looks like: 这是我的IIS 6.0设置的样子: eHome Directory IIS 6.0设置

Dont know what should be done here? 不知道该怎么办? Does anyone have any idea about this? 有人对此有任何想法吗? Thanks! 谢谢!

这是一个图像,显示您在IIS管理器中的IIS6中授予执行权限的位置

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM