W
wwwmike
For some reasons my HTTP Redirect for 404 errors does not work for
certain files like .gif .jpg
on IIS Version: 5.1, but it works perfectly with the VisualStudio2005
internal webserver
****Web.Config****
.......
<customErrors mode="On" defaultRedirect="http://www.cnn.com">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.aspx" />
</customErrors>
.........
*******************
IIS 5.1
http://localhost/mywebsite/notExisting.gif ( does not work)
http://localhost/mywebsite/notExisting.aspx ( works!! , it also work
with *.html etc)
VisualStudio2005 Internal Server
http://localhost:1768/anonymousspeech/notExisting.gif (Works!!)
I guess I have to do some settings on IIS5.1. What do I have to do in
order to get proper redirects also for image file name like .jpg .gif
etc.
Thanks for helping
certain files like .gif .jpg
on IIS Version: 5.1, but it works perfectly with the VisualStudio2005
internal webserver
****Web.Config****
.......
<customErrors mode="On" defaultRedirect="http://www.cnn.com">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.aspx" />
</customErrors>
.........
*******************
IIS 5.1
http://localhost/mywebsite/notExisting.gif ( does not work)
http://localhost/mywebsite/notExisting.aspx ( works!! , it also work
with *.html etc)
VisualStudio2005 Internal Server
http://localhost:1768/anonymousspeech/notExisting.gif (Works!!)
I guess I have to do some settings on IIS5.1. What do I have to do in
order to get proper redirects also for image file name like .jpg .gif
etc.
Thanks for helping