Banning a domain using mod_rewrite

Hi:
Could someone check the syntax below for using mod_rewrite to ban incoming visits from a particular domain?

Options +FollowSymlinks
RewriteEngine On
RewriteCond %{HTTP_REFERER} offender.com
RewriteRule .* - [F,L]

Can I assume with the above that domains like offender.com, site1.offender.com will all be blocked?

Thanks

 

 

 

 

Top