Connecting Tech Pros Worldwide Forums | Help | Site Map

Capture HTTP Request before IIS

Newbie
 
Join Date: Feb 2007
Posts: 1
#1: Feb 9 '07
I like to create a custom code to make custom redirect. For example, I like this URL to be the redirect URL http://testme.now/test to be redirected to http://nowtesting.com. Actuall the /test folder should not exists in the IIS because I want a custom redirect right. I write a custom HttpModule to capture the HttpRequest but during debug it doesn't go HttpModule code rather a Page not found was thrown by IIS. I want to capture the request first before IIS so that I can redirect it.

Is there a way I can get HttpRequest before IIS? or Do I need to change approach for my custom redirect?

Thanks!

chazcross's Avatar
Newbie
 
Join Date: Feb 2007
Location: Troy, MI
Posts: 31
#2: Feb 10 '07

re: Capture HTTP Request before IIS


No IIS always comes first before .Net.

Well unless you have access to the server then you an configure IIS to map all request to the .NET runtime for that site.
Reply