mod_rewrite and co-op

Discussion in 'Co-op Advertising Network' started by Mixposure, May 17, 2005.

  1. #1
    Hi,

    I currently have mod_rewrite installed on my site. It sets a rule so that if somebody types in mysite.com/a-name, it will resolve to mysite.com/userpage.php?username=a-name
    I am also running the co-op in a subfolder of my root dir called forum.
    After updating my mod_rewrite code, I was booted from the network because my URL is listed as
    www.mysite.com/forum/

    Which I suppose means that it is trying to resolve to the other page and not finding the URL.

    I updated the co-op to point to www.mysite.com/forum/index.php

    But now I have a weight of 0. I would like to continue with the co-op in my forum but the mod_rewrite I have is much more important. Is there a way to work around this?

    Thanks.
     
    Mixposure, May 17, 2005 IP
  2. a389951l

    a389951l Must Create More Content

    Messages:
    1,885
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    140
    #2
    a389951l, May 17, 2005 IP
  3. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Base URL needs to be a folder or domain. NOT A FILE! Leave it like that and you'll keep the 0 weight.

    As long as /forums/ doesn't redirect (the mod rewrite seems to make it look like a redirect) it should work.
     
    T0PS3O, May 17, 2005 IP
  4. Mixposure

    Mixposure Peon

    Messages:
    61
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Currently,

    It does redirect for /forums/

    I suppose I need to come up with an exception to my mod_rewrite so that it won't. Any mod_rewrite whizzes in the hizzle?

    Thanks for the help.
     
    Mixposure, May 17, 2005 IP