I'm having a really frustrating time trying to figure this out. I know it must be easy, but it's got me stumped! I'm writing a URL redirect HttpModule to implement "friendly URLs". However, IIS seems to be acting weird. I've set all requests to be handles by
ASP.NET, by adding ".*" to IIS Application mapping for my "DEV" web application. I have unchecked the "Check that file exists" checkbox. Default pages are enabled. My HttpModule currently is set to redirect all requests to "default.aspx" When I type "http://localhost/dev/"
or "http://localhost/dev" or "http://localhost/dev/xxxx" or "http://localhost/dev/xxxxx.yyy" it works great. BUT, if I try to impose an imaginary folder ("foo") after "dev" (e.g., "dev/foo/" or "dev/foo/xxxx.yyy" I get the dreaded: Server Error in 'Dev' Application
that shows me a 404 error. What am I doing wrong? Thanks, Steve
steveperx
Member
15 Points
3 Posts
HttpModule and IIS 5.1 Grrr!!!!
Aug 21, 2003 04:53 PM|LINK