Try our conversational search powered by Generative AI!

Custom URL rewriting using httpModule in IIS7


Because EPiServer CMS 5 R2 SP2 does not handle incoming URLs that are not FURLs I have created a small httpmodule which rewrites the URL to a FURL to circumvent the problem. I put this in httpModules on IIS6 and it works like a charm. On IIS7 however, it causes static files, or at least stylesheets, to be delivered corrupt to the client. In the IIS7 web.config I have added the module both in <httpModules> and in <system.webServer><modules>

Can't I use this approach with IIS7 or did I miss something in the configuration?

Nov 09, 2009 16:32
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.