开发者

How can you get mod_rewrite compatible redirects to work with IIS/PHP?

开发者 https://www.devze.com 2023-01-05 05:10 出处:网络
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 s

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消