nord vpnnord vpn
Ad

Custom Error and IIS Error Configuration

mail@pastecode.io avatar
unknown
xml
a year ago
603 B
1
Indexable
Never
<system.web>
    <customErrors mode="Off" redirectMode="ResponseRewrite" defaultRedirect="~/500.html">
          <error statusCode="400" redirect="~/400" />
          <error statusCode="500" redirect="~/500.html" />
    </customErrors>
    
    <!-- IIS Error -->
    <httpErrors errorMode="Custom" existingResponse="Replace">
      <remove statusCode="404"/>
      <error statusCode="404" prefixLanguageFilePath="" path="/404" responseMode="ExecuteURL" />

      <remove statusCode="500"/>
      <error statusCode="500" path="500.html" responseMode="File"/>
    </httpErrors>
<system.web>

nord vpnnord vpn
Ad