"Prohibited" error when accessing elmah.axd remotely via HTTPS in ASP.NET WebForms

I am trying to integrate ELMAH into a webforms application. For reasons that I’m not allowed to change, the entire application should be accessible only through HTTPS.

The application works, but we cannot access the ELMAH log file remotely. I followed these instructions to provide remote access without success.

This is the related configuration found in the current web.config file:

<configuration>
    <configSections>
        <sectionGroup name="elmah">
            <section name="security" requirePermission="false" type="Elmah.SecuritySectionHandler, Elmah" />
            <section name="errorLog" requirePermission="false" type="Elmah.ErrorLogSectionHandler, Elmah" />
            <section name="errorMail" requirePermission="false" type="Elmah.ErrorMailSectionHandler, Elmah" />
            <section name="errorFilter" requirePermission="false" type="Elmah.ErrorFilterSectionHandler, Elmah" />
        </sectionGroup>
    </configSections>
    <elmah>
        <security allowRemoteAccess="yes" requirePermission="false" />
        <errorLog type="Elmah.XmlFileErrorLog, Elmah" logPath="~/App_Data" />
    </elmah>

    <system.web>

        <httpModules>
            <add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah"/>
        </httpModules>
        <httpHandlers>
            <add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" />
        </httpHandlers>

Is there anything else I could do? Does anyone know if there is any restriction in accessing the ELMAH log file via HTTPS?

Please note that we are currently using IIS 6.0 and the .NET framework 2.0.

+3
source
2
  • html .
  • .

, . axd, , .

, - SSL - 403 " "... . , , SSL.

... (, , ) , .

+2

: : 0 1

<security allowRemoteAccess="0" />

to

<security allowRemoteAccess="1" />

.

!!

+10

Source: https://habr.com/ru/post/1785508/


All Articles