Hi all. Have been fighting this problem for a hvile. I made a HttpModule that rewrites ALL request to "default.aspx". So if you type "foobar.aspx" this is automaticly rewritten to "default.aspx" and so on... But... I can not seem to figure out how to ignore
this with directory-like addresses. If I type "/mydirectory" or "/mydirectory/" I get the dreaded 404 error. Everything works if I assign ".aspx" but not on directory-like paths. Is there a simple way to ignore this ? Best Regards Foged
Foged
Member
370 Points
74 Posts
HttpModule, RewritePath and no 404 for directories
Sep 06, 2003 05:12 PM|LINK
ericy3kok
Member
579 Points
117 Posts
Re: HttpModule, RewritePath and no 404 for directories
Sep 22, 2003 01:24 AM|LINK
E.Newton
ASP.Net/C# Solutions Developer and Consultant
Ensoft Software
http://www.ensoft-software.com/
eric@ensoft-software.com.cc (Remove the CC)