Litespeed .htaccess not working
I have the following folder structure
domain.com (/public_html/)
sub.domain.com (/public_html/sub/)
sub.domain.com/dir1/ (/public_html/sub/dir1/)
sub.domain.com/dir1/dir2/ (/public_html/sub/dir1/dir2/)
if I put the following in my .htaccess file at any of these directories
It has no effect when loading any files in these directories. Apache did follow these rules set, but since switching to litespeed enterprise it has meant that IP restrictions have been ignored What am I missing here?
DirectoryIndex index.php
require valid-user
Require ip x.x.x.x
It has no effect when loading any files in these directories. Apache did follow these rules set, but since switching to litespeed enterprise it has meant that IP restrictions have been ignored What am I missing here?
-
Try: order deny,allow deny from all allow from Your-IP0 -
Try:
order deny,allow deny from all allow from Your-IP
This works spot on but I thought require statements were followed in Litespeed Enterprise ?0 -
Hello! Is this cPanel-provided Litespeed? Can you confirm which version you are running? 0 -
Yes Current Version: 6.0.11 (build 4) 0
Please sign in to leave a comment.
Comments
4 comments