1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

ISAPI_rewrite limits

Discussion in 'Site & Server Administration' started by SEbasic, Sep 26, 2005.

  1. #1
    Hi guys.

    I have a client who has a *really* big site and some really terrible URL's to go with 90% of it.

    I am working with the sites developers to try and make improvements in terms of the SEO, and was told something that I didn't actually realise about IIS.

    There is a limit to the number of URL's you can redirect (mod_rewrite style) using ISAPI_rewrite.

    I was told that rather than producing rules in RegEx to rewrite the URL's, that you essentially say "Redirect (x)url --> (y)url". I was also told that the config file these URL's are stored in can't be any larger that 2 megs.

    Is this true?

    Anyone have any experience of using ISAPI_rewrite on IIS?

    Any information would be appreciated - I've tried searching for isapi_rewrite limits, but couldn't find anything...
     
    SEbasic, Sep 26, 2005 IP
  2. mystikmedia

    mystikmedia Jedi Master

    Messages:
    5,564
    Likes Received:
    498
    Best Answers:
    0
    Trophy Points:
    270
    #2
    I don't know about the 2 MB issue, but you can definitely do a redirect without regex. Here's an example for a permanent redirect via ISAPI Rewrite:

    RewriteRule /somepage.htm http://www.yoursite.com/somepage2.htm [I,O,RP,L]
     
    mystikmedia, Sep 26, 2005 IP
    SEbasic likes this.
  3. SEbasic

    SEbasic Peon

    Messages:
    6,317
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #3
    But that's it, I*do* wan't to use regex...

    If I can set rules rather than individually rewriting each URL it's going to make life a million times easier.
     
    SEbasic, Sep 26, 2005 IP
  4. mystikmedia

    mystikmedia Jedi Master

    Messages:
    5,564
    Likes Received:
    498
    Best Answers:
    0
    Trophy Points:
    270
    #4
    Ah, I must have misread your original post. In any case, it's the same anyway. You just put the regex instead of a direct file.
     
    mystikmedia, Sep 26, 2005 IP
  5. SEbasic

    SEbasic Peon

    Messages:
    6,317
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #5
    So it works exactly the same (essentially) as mod_rewrite on Apache?
     
    SEbasic, Sep 26, 2005 IP
  6. mystikmedia

    mystikmedia Jedi Master

    Messages:
    5,564
    Likes Received:
    498
    Best Answers:
    0
    Trophy Points:
    270
    #6
    I don't know anything about the mod_rewrite in Apache...so, I cannot speak on it. Sorry. All I am qualified to speak on is the ISAPI Rewrite. :)
     
    mystikmedia, Sep 26, 2005 IP
  7. SEbasic

    SEbasic Peon

    Messages:
    6,317
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #7
    OK no problem - thanks for the help. :)

    Anyone else know?
     
    SEbasic, Sep 26, 2005 IP
  8. DangerMouse

    DangerMouse Peon

    Messages:
    275
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #8
    We've had to do this... you have to install an IIS module from helicon ($30) and it works with a config file pretty much like you use htaccess - regex and all.

    don't know about file limit - I'm SURE you'll fit it into 2meg though ;)
     
    DangerMouse, Sep 26, 2005 IP
    SEbasic likes this.
  9. Corey Bryant

    Corey Bryant Texan at Heart

    Messages:
    1,126
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    0
    #9
    We also have the IIS module from Helicon installed. Very easy to work with and their support is pretty good as well.
     
    Corey Bryant, Sep 30, 2005 IP
  10. Perrow

    Perrow Well-Known Member

    Messages:
    1,306
    Likes Received:
    78
    Best Answers:
    0
    Trophy Points:
    140
    #10
    Oliver, I'm not sure but this might help you.

    http://www.iismods.com/

    Open Source Mod Rewrite for IIS that is not ISAPI Rewrite.
     
    Perrow, Sep 30, 2005 IP
    SEbasic likes this.
  11. SEbasic

    SEbasic Peon

    Messages:
    6,317
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Perrow that is awesome - thanks very much.

    I'm gonna give it a go. :)
     
    SEbasic, Oct 3, 2005 IP