Forum Moderators: phranque
IF user agent contains? (I'm hoping to uses the OR pipline)
AND
IP is from? (Also hoping to be able to use many IP ranges)
Is it possible?
RewriteCond %{HTTP_USER_AGENT} (squat¦bud¦other¦names)
RewriteCond %{REMOTE_ADDR} ^123\.86\.[0-3]\. [OR]
RewriteCond %{REMOTE_ADDR} ^123\.94\.[0-3]\.
RewriteRule .* - [F]
Thanks in advance
Don
If so, what you have should work. You can try changing your user-agent to a 'bad' one and testing with your own IP address to be sure.
Jim