Last post Sep 22, 2008 10:50 AM by DarrenAllen
Sep 22, 2008 10:50 AM|DarrenAllen|LINK
I have a sub-directory that I would like to implement a httpModule for. I can get it to work if I implement the httpModule on the entire application, but not for the single directory. I have added the <httpModules> section to a web config file that is in
the sub-directory, but it does not work. If I add the same <httpModule> section to the root applications web.config, it works fine.
Is this possible? Or is it possible to configure a httpModule for a <location>? The issue that I face is having multiple different scenarios for URL Rewriting. I can implement them all in the root, but then the code is going to run for every request, which
adds a lot of overhead on a heavy traffic site.
Any help would be appreciated.
IIS is the web server...