Does mod_rewrite work for windows servers too?
Does mod_rewrite work for windows servers too? If not, how does windows use regular expressions the same way you can using the .h开发者_Python百科taccess file in Apache?
There's a URL Rewriting module for IIS7, shipped by Microsoft. It can import rules from mod_rewrite. It doesn't have 100% compatibility, but most of what you want to do, it can do.
There are also other, third-party URL rewriters, with varying degrees of mod_rewrite-compatibility, and varying price points. Helicon ISAPI Rewrite is a commercial one.
IIRF is a good one. Free, mostly compatible. Works on IIS6 or 7. I wrote it.
If you mean for IIS, there are ways to do it.
In the project I am working on right now, we use Helicon ISAPI Rewrite.
精彩评论