1
Open your public_html/.htaccess file
Open File Manager in cPanel and edit your root .htaccess file.
Open File Manager in cPanel and edit your root .htaccess file.
Insert the following block replacing the IP address with the offending IP or CIDR block:
<RequireAll>
Require all granted
Require not ip 198.51.100.1
Require not ip 203.0.113.0/24
</RequireAll>LiteSpeed applies .htaccess changes instantly without restarting the server.