38 users online (2 members and 36 guests)  


  Results 1 to 2 of 2

Related

  1. Signature Rule?    Forum: General Discussion
    Replies: 6
  2. CSS conflict?    Forum: CSS Forum
    Replies: 4
  3. .htaccess doesn't work    Forum: HTML Forum
    Replies: 1
  4. host with htaccess    Forum: Web Hosting Forum
    Replies: 2
  5. HTACCESS    Forum: Website Scripts Forum
    Replies: 2
  1. #1
    basketmen's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2007
    Posts
    18

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

    i want www.domain.com is directed to the www.domain.com/forum.php

    usually i use this htaccess rule to define default homepage file

    RewriteRule ^$ forum.php


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



    RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ blog.php [L,QSA]


    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. #2
    shadows_twin's Avatar
    New User

    Status
    Offline
    Join Date
    Mar 2009
    Posts
    2

    Lightbulb Re: Conflict, What is the right htaccess rule, default homepage file with htaccess?

    Replace:
    RewriteRule ^$ forum.php

    with:
    RewriteRule ^$ forum.php [L]


    The [L] flag tells Apache not to process any further rules.