Mod Rewrite on IIS (Wordpress)

Discussion in 'Site & Server Administration' started by nickharper, Oct 22, 2007.

  1. #1
    Hi Guys,

    I am trying to get mod rewrite working but I am having a lot of trouble.

    I am trying to use Wordpress Permalinks within IIS 6 but I am having a lot of issues getting it working.

    Does anybody know a good way to get mod rewrite working?

    Thanks
     
    nickharper, Oct 22, 2007 IP
  2. zisto

    zisto Guest

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You must use a mod_rewrite compatible tool such as IIS Mod-Rewrite Pro (www.micronovae.com/ModRewrite/ModRewrite.html)

    There are more url rewriting tools at available at
    en.wikipedia.org/wiki/Rewrite_engine
    Note, though, that most of them are not compatible with mod_rewrite so they may not work.

    Also, check out this guide:

    www.micronovae.com/ModRewrite/articles/CleanPermalinks.html
     
    zisto, Oct 22, 2007 IP
  3. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Right...it's not easy to mimic the same permalink on IIS which works on apache.
     
    agnivo007, Oct 22, 2007 IP
  4. chickens

    chickens Peon

    Messages:
    242
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Sure it is easy to replicate it in IIS; you just need to use a .NET language to do so. With the next verions of IIS (in vista and 2k8) it will have better options for url rewriting by default.

    Running a PHP site on IIS is going to be a painful experience in and of itself, even more so if you try to rewrite the URLs. In my opinion PHP on IIS should be avoided. They did just release fast-cgi for IIS that should help quite a few of the issues, but I would still avoid it.

    I am all for the right tool for the job; IIS for ASP and *NIX for PHP/Ruby/Perl/etc
     
    chickens, Oct 22, 2007 IP
  5. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hmm...linux is still the best bet for open source apps.
    Leave those apps for linux...if porting over to windows, there's nothing more but troubles. :p
     
    agnivo007, Oct 23, 2007 IP