webforms ASP.Net project ApportRequest http 1.0 ,1.1

Viewed 7

I tried to add a rewrite to the web. config file

<rewrite>
    <rules>
        <rule name="RequestBlockingRule1" patternSyntax="Wildcard" stopProcessing="true">
            <match url="*" />
            <conditions>
                <add input="{SERVER_PROTOCOL}" pattern="HTTP/1.0" />
            </conditions>
            <action type="AbortRequest" />
        </rule>
        <rule name="RequestBlockingRule11" patternSyntax="Wildcard" stopProcessing="true">
            <match url="*" />
            <conditions>
                <add input="{SERVER_PROTOCOL}" pattern="HTTP/1.1" />
            </conditions>
            <action type="AbortRequest" />
        </rule>
    </rules>
</rewrite>

but when I run it gave me site can't be reached

any one know how this can be done in a webforms project ASP.Net

0 Answers
Related