Url Rewriting ASP.NET - Some images refuse to load

BigPig

New Member
I have recently implemented UrlRewriter (http://urlrewriter.net) on my website and am having some issues.I am implementing it so the page requests are extension-less. For example, \[code\]www.example.com/my-cool-product\[/code\], redirects to \[code\]www.example.com/Product.aspx?id=1\[/code\]. This works fine.The problem I am having is that, some of my site images are refusing to be served as static content. If I put the path to some of images on my site, they are served up right away (as static content), but some images try to route through the .NET pipeline.For example, \[code\]www.example.com/Asset/Image/Image.png\[/code\] returns a 404 as it is trying to hit up \[code\]www.example.com/Asset/Image/Default.aspx\[/code\].Can anyone shed any light on why this is happening for some images and not for others?
 
Back
Top