I
Ilyas Osmanogullari
we're developing a project using IIS 7. We re-arranged CustomError property
in Config file.
<customErrors mode="On" defaultRedirect="~/error.aspx"
redirectMode="ResponseRewrite">
<error statusCode="403" redirect="~/error.aspx" />
<error statusCode="404" redirect="~/error.aspx" />
</customErrors>
when we execute the following requests:
www.domain.com/article
www.domain.com/article.asp
they run correctly in development environment (w/ IIS7), but when we
upload project to the production server (w/ IIS6), we dont see a redirecting
action or the custom error page.
in Config file.
<customErrors mode="On" defaultRedirect="~/error.aspx"
redirectMode="ResponseRewrite">
<error statusCode="403" redirect="~/error.aspx" />
<error statusCode="404" redirect="~/error.aspx" />
</customErrors>
when we execute the following requests:
www.domain.com/article
www.domain.com/article.asp
they run correctly in development environment (w/ IIS7), but when we
upload project to the production server (w/ IIS6), we dont see a redirecting
action or the custom error page.