P
P
piatachki2013-08-08 15:55:05
Apache HTTP Server
piatachki, 2013-08-08 15:55:05

How to cut off visitors from a specific url?

Apparently I formulate the question very poorly, because Google does not give anything similar to the answer. Nevertheless, the topic has been raised more than once - I'm sure of it.
A lot of traffic is poured onto the site from buytraf - this is such an aggregator. It is impossible to find out who pours and devours resources. I have a VPS with Apache. How can I make sure that traffic with the buytraf* ref is cut off tightly?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
moonsly, 2013-08-08
@piatachki

From here www.htaccess-guide.com/deny-visitors-by-referrer/
RewriteEngine on
# Options +FollowSymlinks
RewriteCond %{HTTP_REFERER} otherdomain\.com [NC,OR]
RewriteCond %{HTTP_REFERER} anotherdomain\.com
RewriteRule .* - [F]

P
Perkov, 2013-08-08
@Perkov

is nginx available? He knows how.
something like
if ($http_referer ~* (buytraf))
{ return 403; }

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question