need htaccess redirect help

Discussion in 'Apache' started by Chris 96 WS6, Jan 2, 2007.

  1. #1
    I have 1 site with 2 additional domains parked on top of it. I want persons entering from the parked domains to be able to surf around the site w/o it "flipping" back to the main domain.

    Its a vbulletin forum, and landing on site.com sends you via htaccess redirect to the forum home at site.com/forum/index.php.

    If you go to parkeddomain.com/forum/index.php it does exactly what I want, and you can register, surf and post and never see the main domain. However, if you go to parkeddomain.com the htaccess redirect sends you to site.com/forum/index.php and the main domain is revealed.

    What I want to do is set up a rewrite or redirect that redirects to the relative forum home depending on which domain was used to access.

    Any guidance out there? Thanks.
     
    Chris 96 WS6, Jan 2, 2007 IP
  2. rodney88

    rodney88 Guest

    Messages:
    480
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It would be a lot easier to help if you'd posted your current .htaccess, please..

    Does the / to /forum/index.php rewriterule come before the other rewrite rules (i.e. domain.com to site.com)?
     
    rodney88, Jan 5, 2007 IP