Seperate IPs in .htaccess

RewriteCond %{REMOTE_ADDR} !^123.456.789.111$ [OR]
RewriteCond %{REMOTE_ADDR} !^123.456.789.112$

:)
 
Fixed it.

Just put the rewrite condition on two separate lines without the [OR] and it seems to be working fine. :) Thanks for your help.

RewriteCond %{REMOTE_ADDR} !^123.456.789.111$
RewriteCond %{REMOTE_ADDR} !^123.456.789.112$
 
Sorry, I didn't notice the exclamation mark. Glad you got it working despite my 'input' :D.
 
Back
Top Bottom