Hello,
We are receiving an error when trying to add a redirect to an alias or addon domain. The specific error is:
We are using LiteSpeed Web Server and were having problems getting our IP blocked from their Brute Force Protection. For some reason the counter also increments on successful logins. Per Litespeed's WordPress Brute Force Attack Protection wiki:
Set "Trusted <ip>" in .htaccess to bypass the block
Since LSWS 5.4RC1, LSWS added virtual host trusted IP support, where you use Trusted 1.2.3.4, 5.6.7.8 for IPv4 or Trusted [2001:db8:85a3:8d3:1319:8a2e:370:7348] for IPv6 in Virtual Host document root .htaccess to unblock blocked IP and make that IP trusted for that vhost.
The work around is to remove Trusted from the .htaccess, add the redirects, then add Trusted back to the .htaccess. However, would save some time if cPanel didn't throw an error. Any suggestions?
Thanks!
We are receiving an error when trying to add a redirect to an alias or addon domain. The specific error is:
Code:
AH00526: Syntax error on line 423 of /path/to/.htaccess:
Invalid command 'Trusted', perhaps misspelled or defined by a module not included in the server configuration
Set "Trusted <ip>" in .htaccess to bypass the block
Since LSWS 5.4RC1, LSWS added virtual host trusted IP support, where you use Trusted 1.2.3.4, 5.6.7.8 for IPv4 or Trusted [2001:db8:85a3:8d3:1319:8a2e:370:7348] for IPv6 in Virtual Host document root .htaccess to unblock blocked IP and make that IP trusted for that vhost.
The work around is to remove Trusted from the .htaccess, add the redirects, then add Trusted back to the .htaccess. However, would save some time if cPanel didn't throw an error. Any suggestions?
Thanks!