title: using Custom Error Page in IIS7.5
body: <p>I have configured a site to use SSL, thus I added following section in my web.config</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;configuration&gt;
      &lt;system.webServer&gt;
          &lt;httpErrors&gt;
              &lt;error statusCode="403" subStatusCode="4" path="D:\Data\www\Site\403.htm" responseMode="File" /&gt;
          &lt;/httpErrors&gt;
      &lt;/system.webServer&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>Once I have included it, and when I visited <a href="http://my-url/pagr/some.aspx" rel="nofollow">http://my-url/pagr/some.aspx</a> I got <code>The page cannot be displayed because an internal server error has occurred.</code> message. If I remove it I could see default 403 error page.</p>
  
  <p>Is it something wrong with my config?</p>