Custom errors in ASP.net
<p>I have a website, lets assume it's</p>

<pre><code>www.mydomain.com/a
</code></pre>

<p>I also have a page named </p>

<pre><code>list.aspx
</code></pre>

<p>I added configuration settings to the web.config file to customize the errors (mainly 404,500).</p>

<p>It works perfectly except for when the request is not a page, for example</p>

<pre><code> www.mydomain.com/a/lEst.aspx    //my custom page appears
 www.mydomain.com/a/list         //doesn't work   (without aspx extension)
 www.mydomain.com/B/aasd.aspx    //doesn't work
</code></pre>

<p>When the custom errors that don't work,  the hosting server displays his own custom page.</p>

<p>How can I fix this?</p>
