WEB Conflict, What is the right htaccess rule, default homepage file with htaccess?

Discussion in 'OT Technology' started by basketmen, Jan 19, 2009.

  1. basketmen

    basketmen New Member

    Joined:
    Jan 31, 2007
    Messages:
    119
    Likes Received:
    0
    i want domain.com is directed to the domain.com/forum.php

    usually i use this htaccess rule to define default homepage file



    but in one of my website, above rule is conflict with the other htaccess





    so the first rule is not working



    please help how is the correct rule so both rule not conflict (maybe joining or split them)





    i must found the answer, please help guys
     
  2. whup

    whup I wish you had children and.. so that I could step

    Joined:
    Feb 12, 2007
    Messages:
    1,603
    Likes Received:
    0
    Don't use a rewrite rule to specify the default document, use the actual Apache directive.

    DirectoryIndex forum.php
     
  3. basketmen

    basketmen New Member

    Joined:
    Jan 31, 2007
    Messages:
    119
    Likes Received:
    0
    how to do that dude?

    i had googling but still dont understand
     
  4. retorq

    retorq What up bitch??

    Joined:
    Dec 14, 2006
    Messages:
    6,061
    Likes Received:
    0
    Location:
    Mohave Desert
    I think that's set in the apache config file .. why not a redirct in the side default index file?? Or if all you have is forum content, move that folder to the main folder ...
     
  5. whup

    whup I wish you had children and.. so that I could step

    Joined:
    Feb 12, 2007
    Messages:
    1,603
    Likes Received:
    0

Share This Page