htaccess

#1
Litespeed newbie. Using the community version. I have used an auto installer with CyberPanel.
Is there a way to enable <file> directive? This line is getting generated with a security plugin. Also I want to port over some custom file rules.

Code:
<files readme.txt>
  <IfModule mod_litespeed.c>
        Order allow,deny
        Deny from all
  </IfModule>
</files>
Error Logs Show:
[INFO] Rewrite directive: <IfModule mod_litespeed.c> bypassed.
[INFO] Invalid rewrite directive: Order allow,deny
[INFO] Invalid rewrite directive: Deny from all
[INFO] Rewrite directive: </IfModule> bypassed

If anyone can point me in the write direction, would be much appreicated.
 
#5
Ive used both cyberpanel to restart litespeed server. Sever Status > Service Status
Also command line as : sudo /usr/local/lsws/bin/lswsctrl restart

public_html > .htaccess is where you are referencing I put this right?

Or are you referencing either of these files? (also why are there two, and are either of these where I put AllowOverride All, top of files say it's auto generated)
/usr/local/CyberCP/install/litespeed/httpd.conf
/usr/local/CyberCP/serverStatus/litespeed/httpd.conf
 
#7
Oh okay I didn't realize there were 2 forums. Yes the readme.txt is located in public_html. And I actually tried both ^ and non ^. Neither worked. I will reach out to the OLS forum. Thanks.
 
Top