I would like to reject http requests that mimic a browser but come from the cloud. For Apache, this might be (for one IP range),
RewriteCond %{REMOTE_ADDR} 3.0.0.0/9
RewriteCond %{HTTP_USER_AGENT} Mozilla
RewriteRule ^.* "-" [F]
However, the first RewriteCond doesn't appear to work In LiteSpeed Enterpise; stuff gets through. Am I missing something, or is the REMOTE_ADDR syntax not fully implemented?
(An IP range does work for "Deny from", but that knocks out legitimate traffic.)
RewriteCond %{REMOTE_ADDR} 3.0.0.0/9
RewriteCond %{HTTP_USER_AGENT} Mozilla
RewriteRule ^.* "-" [F]
However, the first RewriteCond doesn't appear to work In LiteSpeed Enterpise; stuff gets through. Am I missing something, or is the REMOTE_ADDR syntax not fully implemented?
(An IP range does work for "Deny from", but that knocks out legitimate traffic.)