R
Ron Vecchi
I am using a custom http error redirect in my web.config (404)
<customErrors mode="On" defaultRedirect="default.aspx">
<error statusCode="404" redirect="default.aspx"/>
</customErrors>
It works when someone enters http://www.mydomain.com/myfolder/mypage.aspx
the redirect works fine.
But if someone enters http://www.mydomin.com/myfolder/
it doesn't work.
Neither the folder or the aspx page exist.
and both produce a 404 error.
<customErrors mode="On" defaultRedirect="default.aspx">
<error statusCode="404" redirect="default.aspx"/>
</customErrors>
It works when someone enters http://www.mydomain.com/myfolder/mypage.aspx
the redirect works fine.
But if someone enters http://www.mydomin.com/myfolder/
it doesn't work.
Neither the folder or the aspx page exist.
and both produce a 404 error.