View Single Post
  #2  
Old 5th December 2012, 22:09
patrick3853 patrick3853 is offline
Member
 
Join Date: Dec 2008
Posts: 30
Thanks: 3
Thanked 7 Times in 3 Posts
Default

By default multiple RewriteCond's are treated using a logical AND, so...

Code:
RewriteCond %{REMOTE_ADDR} ^1\.2\.
RewriteCond %{REMOTE_ADDR} !^1\.2\.3\.4$
RewriteRule...
Does exactly what you want. It says If the IP starts with 1.2. and does not equal 1.2.3.4, then apply the rule
Reply With Quote