Hello,
I am trying to find a solution to disable the LiteSpeed reCAPTCHA protection for one or more specific cPanel accounts.
I have already tried two different methods, but the reCAPTCHA prompt is still active when accessing the domains.
Method 1: Apache Include Files
Following the cPanel documentation https://docs.cpanel.net/ea4/apache/.../#apply-to-all-virtual-hosts-that-a-user-owns on modifying virtual hosts, I added the code below to both:
Result: This did not disable the reCAPTCHA.
Method 2: .htaccess File
I also tried adding the following code directly to the account's .htaccess file:
Code used:
Result: This also failed, and the reCAPTCHA is still appearing.
Could anyone please advise on the correct procedure to disable LsRecaptcha for a specific cPanel account?
Any help would be greatly appreciated.
I am trying to find a solution to disable the LiteSpeed reCAPTCHA protection for one or more specific cPanel accounts.
I have already tried two different methods, but the reCAPTCHA prompt is still active when accessing the domains.
Method 1: Apache Include Files
Following the cPanel documentation https://docs.cpanel.net/ea4/apache/.../#apply-to-all-virtual-hosts-that-a-user-owns on modifying virtual hosts, I added the code below to both:
- /etc/apache2/conf.d/userdata/ssl/2_4/user/includename.conf
- /etc/apache2/conf.d/userdata/std/2_4/user/includename.conf
Apache config:
<IfModule LiteSpeed>
LsRecaptcha 0
</IfModule>
Method 2: .htaccess File
I also tried adding the following code directly to the account's .htaccess file:
Code used:
Apache config:
RewriteEngine On
LsRecaptcha 0
RewriteRule .* - [E=verifycaptcha:drop]
Could anyone please advise on the correct procedure to disable LsRecaptcha for a specific cPanel account?
Any help would be greatly appreciated.