Do I need 2 .htaccess files?

Discussion in 'Apache' started by ~kev~, Feb 24, 2009.

  1. #1
    In the html root I have wordpress installed.

    In a /forum folder I have VBulletin installed.

    wordpress has its own .htaccess that rewrites http to www Do I need a .htaccess file in the /forum folder to make vbulletin rewrite http to www?

    Or can this be done with the .htaccess file that is in the html root?
     
    ~kev~, Feb 24, 2009 IP
  2. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #2
    The directory will inheriet the root unless you add a new one within the directory which is what I would do to keep things clean and simple.

    Somehow I doubt the two scripts have all that much in common.
     
    Colbyt, Feb 24, 2009 IP
  3. Brandon Sheley

    Brandon Sheley Illustrious Member

    Messages:
    9,721
    Likes Received:
    612
    Best Answers:
    2
    Trophy Points:
    420
    #3
    I would leave things the way you have now
     
    Brandon Sheley, Feb 24, 2009 IP