Bug with .htaccess

Discussion in 'Bug Reports' started by slimak, May 13, 2011.

  1. slimak

    slimak New Member

    Hello,
    there is a bug with parsing .htaccess file.

    For example on DirectAdmin we have an account with two domains:
    example.com (main domain)
    example2.com
    The .htaccess file from public_html of the first domains (example.com) is being parsed for the second domain example2.com. In previous versions this didn't occur. This is important, because if I make som rewrite rules on first domain then their will occur also for the second.
  2. mistwang

    mistwang LiteSpeed Staff

    Can you try Apache with this. LiteSpeed need to follow Apache's behavior.
    An easy solution is to something in .htaccess for example2.com, it should stop inheriting rewrite rules from example.com.
  3. slimak

    slimak New Member

    I don't have a server with Apache, so I can't try this. Apache for sure doesn't work in this way.
  4. webizen

    webizen New Member

    is the docroot of example2.com under public_html of the first domain (example.com)?
  5. slimak

    slimak New Member

    No, the docroots are different:
    example.com => /home/user/domains/example.com/public_html
    example2.com => /home/user/domains/example2.com/public_html
  6. mistwang

    mistwang LiteSpeed Staff

    That's likely is a bug. we need to investigate more. Possible to login to your server to take a look?
    Are you sure there is no .htaccess under /home/user and /home/user/domains ?

Share This Page