Why would my .htaccess be blocking my (shared host) server ip adress?
The following was in my .htaccess file (for my Wordpress site):
Order Allow,Deny
Deny from env=DenyAccess
Allow from all
SetEnvIF REMOTE_ADDR "^192\.yy\.zz\.40$" DenyAccess
SetEnvIF X-FORWARDED-FOR "^192\.yy\.zz\.40$" DenyAccess
SetEnvIF X-CLUSTER-CLIENT-IP ""^192\.yy\.zz\.40$" DenyAccess
where "192.yy.zz.40" is my host/provider server's ip address. Clearly, I
don't really know what I'm talking about here, but it seems that my
.htaccess was blocking access to myself! Why would it be doing this?
(My guess is that Wordfence or Better WP Security put those lines into my
.htaccess file. I sure didn't do it, at least not intentionally...)
No comments:
Post a Comment