Bug with .htaccess

slimak

Well-Known Member
#1
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.
 

mistwang

LiteSpeed Staff
#2
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.
 

slimak

Well-Known Member
#5
No, the docroots are different:
example.com => /home/user/domains/example.com/public_html
example2.com => /home/user/domains/example2.com/public_html
 

mistwang

LiteSpeed Staff
#6
No, the docroots are different:
example.com => /home/user/domains/example.com/public_html
example2.com => /home/user/domains/example2.com/public_html
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 ?
 
Top