I have several servers with different IP addresses. I want to make it impossible to reach them via IP directly. Instead, I want them to redirect to my domain, www.site.com.
The following condition matches an exact IP:
RewriteCond %{REMOTE_HOST} !^123\.456\.789\.012$
How can I match any IP using Apache rewrite rules?