How can you get mod_rewrite compatible redirects to work with IIS/PHP?
I'd like to be able to get some websites currently hosted in linux moved across to Windows-based hosting where we already have a reasonable number of sites hosted (n开发者_如何学Pythonot looking to switch to Apache since majority of sites are relying upon IIS), and have tried a few different mod_rewrite variants for IIS but not had any success getting any configured to work correctly. A couple of sites I need this to work for are based on the CakePHP framework to give an example. Any help/suggestions appreciated. Thanks!
John Sheehan posted:
Check out the URL Rewrite Module for IIS 7 created by Microsoft
mod_rewrite equivalent for IIS 7.0
I've had quite a bit of success with ISAPI Rewrite in the past. It uses very similar rules to mod_rewrite.
精彩评论