I'm working on (surprise) a web framework that entirely is dependent on mod_rewrite, however I'd like for it to be compatible with IIS ( if possible ). There's a slight slight chance one of the sites being built will have to be stored on an IIS box, I'm wondering if there's any rewrite module in the most popular versions of IIS I could rely on.
Mod_rewrite-like feature in IIS ( 5/6/7 )
iisiis-5iis-6iis-7
Related Question
- C# – Login failed for user ‘IIS APPPOOL\ASP.NET v4.0’
- IIS 500.19 with 0x80070005 The requested page cannot be accessed because the related configuration data for the page is invalid error
- Asp.net-mvc – Dots in URL causes 404 with ASP.NET mvc and IIS
- C# – Error – Unable to access the IIS metabase
- Windows – IIS Manager in Windows 10
Best Solution
IIS7 is easy--use the URL rewrite module as Garethm points out.
IIS<7 is a bit trickier--no integrated pipeline to latch on to. Presuming you can require that persons hosting on IIS have dedicated hosting, or can at least get an ISAPI module installed, check out iconic's Isapi Rewrite Filter. It is free, open source and pretty much mimic's mod-rewrite.