iThemes Security causes 500 internal server error – invalid IP
-
I have had a 500 Internal Server error on my blog twice recently. Looking at the error log it was caused by an invalid IP address in .htaccess.
Deleting the following lines from .htaccess fixed the issue:
Require not ip 2001:41d0:0008:0996:0000:0000:0000:0000
Deny from 2001:41d0:0008:0996:0000:0000:0000:0000This part, which has the same IP, doesn’t seem to cause issues:
SetEnvIF REMOTE_ADDR “^2001:41d0:0?0?0?8:0?996:(0{0,4}:){0,3}(0{0,4})?$” DenyAccess
SetEnvIF X-FORWARDED-FOR “^2001:41d0:0?0?0?8:0?996:(0{0,4}:){0,3}(0{0,4})?$” DenyAccess
SetEnvIF X-CLUSTER-CLIENT-IP “^2001:41d0:0?0?0?8:0?996:(0{0,4}:){0,3}(0{0,4})?$” DenyAccessThis is all added in the iThemes Security section of .htaccess. How can I stop the 500 Internal Server error from happening again?
- The topic ‘iThemes Security causes 500 internal server error – invalid IP’ is closed to new replies.