Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Block spam visitor |
|
Author |
|
oracle765
Joined: 28 Jun 2015 Posts: 3 Location: Brisbane
|
Posted: Sun 28 Jun '15 9:26 Post subject: Block spam visitor |
|
|
Hi Professionals I am after a bit of advice
I have a regular visitor from 1999521.videos-for-your-business.com/ and I am aware this is spam from semalt.com, the trouble is I have tried blocking this but it keeps coming back the number 1999521 changes frequently
I have the following in my htaccess file
## STOP REFERRER SPAM
RewriteCond %{HTTP_REFERER} semalt\.com [NC,OR]
RewriteCond %{HTTP_REFERER} best-seo-offer\.com [NC,OR]
RewriteCond %{HTTP_REFERER} videos-for-your-business\.com [NC,OR]
RewriteCond %{HTTP_REFERER} semaltmedia\.com [NC,OR]
RewriteCond %{HTTP_REFERER} best-seo-solution\.com
RewriteRule .* - [F]
Any ideas what I could do
Thanks
Alan |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Sun 28 Jun '15 17:46 Post subject: |
|
|
You can change the regex to (.*)\.videos-for-your-business\.com |
|
Back to top |
|
oracle765
Joined: 28 Jun 2015 Posts: 3 Location: Brisbane
|
Posted: Sun 28 Jun '15 22:04 Post subject: |
|
|
Hi James thanks for this
so does that mean it should be
(.*)\.videos-for-your-business\.com
or just
\.videos-for-your-business\.com
many thanks
Alan |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Mon 29 Jun '15 11:33 Post subject: |
|
|
As far I know it should be
RewriteCond %{HTTP_REFERER} (.*)\.videos-for-your-business\.com |
|
Back to top |
|
|
|
|
|
|