I recently need to register a custom HttpModule
to intercept the mobile redirection feature. I followed this tutorial. At one point, I need to register my HttpModule
in the web.config
and put my DLL in the Bin.
1) Which web.config
I need to add the HttpModule
entry ? (
C:\inetpub\wwwroot\wss\VirtualDirectories\80\web.config
orC:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\CONFIG\web.config
2) Which Bin folder do I need to add my DLL ?
C:\inetpub\wwwroot\wss\VirtualDirectories\80\_app_bin
orC:\inetpub\wwwroot\wss\VirtualDirectories\80\bin
orC:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\CONFIG\BIN
orC:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN
Now actually, I try them all and I still wasn't successful to register the HttpModule. Even after a IIS reset (iisreset
). Does someone have a clue of what's wrong ?