Issue with Litespeed and .htaccess
I add follows to Apache Global Pre Virutalhost Includes: Order Deny,Allow # Whitelist Jetpack IPs (you can remove/replace all the Allow lines) Allow from 192.0.64.0/18 Allow from 122.248.245.244 Allow from 54.217.201.243 Allow from 54.232.116.4 Allow from 209.15.0.0/16 Allow from 66.155.0.0/17 Allow from 64.34.206.0/24 Allow from 185.64.140.0/22 Allow from 198.181.116.0/22 Allow from 76.74.248.128/25 Allow from 76.74.255.0/25 Deny from all To whitelist for one domain, do this(replace the CPANELID and DOMAINNAME) mkdir -p /etc/apache2/conf.d/userdata/std/2_4/CPANELID/DOMAINNAME mkdir -p /etc/apache2/conf.d/userdata/ssl/2_4/CPANELID/DOMAINNAME Create a file allowxmlrpc.conf in each above dir: Allow from all Rebuild and restart Apache: /scripts/rebuildhttpdconf /scripts/restartsrv_httpd
We use litespeed. When whitelist a domain via conf it only works over http and throws a 403 when using https. What could be the reason for this only work with http and not https calls? Any ideas?
Please sign in to leave a comment.
Comments
0 comments