How to modify httpd>documentroot via .htaccess?

Discussion in 'Apache' started by weilies, Mar 1, 2008.

  1. #1
    Hi,

    i am using shared host and no right to access httpd.conf
    And my CPanel allow my domain to point to
    /balr.../public_html/www.soskod.com/
    Which mean whoever type
    www.soskod.com/index.php will be access
    /balr.../public_html/www.soskod.com/index.php

    Then how can i edit .htaccess so it point to
    /balr.../public_html/www.soskod.com/web/index.php

    Thanks
     
    weilies, Mar 1, 2008 IP
  2. shallowink

    shallowink Well-Known Member

    Messages:
    1,218
    Likes Received:
    64
    Best Answers:
    2
    Trophy Points:
    150
  3. weilies

    weilies Peon

    Messages:
    453
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    weilies, Mar 1, 2008 IP
  4. shallowink

    shallowink Well-Known Member

    Messages:
    1,218
    Likes Received:
    64
    Best Answers:
    2
    Trophy Points:
    150
    #4
    shallowink, Mar 1, 2008 IP
  5. weilies

    weilies Peon

    Messages:
    453
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks! it worked!
     
    weilies, Mar 1, 2008 IP