How to restrict access to certain IP addresses in Apache HTTPD
Issue
- Need to block external IPs from accessing WordPress Sites admin files, like
/wp-admin
and others.
Environment
- Red Hat Enterprise Linux (RHEL)
- Red Hat Software Collections (RHSCL)
- Red Hat JBoss Core Services (JBCS)
- Apache Web Server (httpd)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.