Enable reCAPTCHA Protection for any URL
You can enable reCAPTCHA for a specific URL. For example, you might want to protect the admin area (/administrator/) for all Joomla sites on the server.
Example
In cPanel, create /etc/apache2/conf.d/userdata/joomlaprotection.conf with the following content:
<IfModule LiteSpeed>
RewriteRule /administrator/ - [E=verifycaptcha:deny]
</IfModule>
Apply to all cPanel virtual hosts and restart LiteSpeed:
/usr/local/cpanel/scripts/rebuildhttpdconf
service lsws restart
<IfModule LiteSpeed>
RewriteRule .* - [E=verifycaptcha:deny]
</IfModule>
If you include the below line in the above code
RewriteCond SOME-CONDITIONAL-CHECK
