I am being plagued by referrer spam that is spoofing as Goodle and am tired of playing whack-a-mole with the IPs so instead would like to block any referals that contain the phrase
regardless who it is from for all sites.
Will this do it:?
setenvifnocase referer "^http://.*(Article Dashboard)" spam_ref=1
Allow from all
Deny from env=spam_ref
And is it the proper syntax to include in httpd.conf via
Pre VirtualHost Include in WHM