F
F Magnell
How do I block referring sites in ASP using VBScript?
Like blocking referrer's from:
192.025.215.001
and
altavista.com
Like blocking referrer's from:
192.025.215.001
and
altavista.com
Watch wrapping -How do I block referring sites in ASP using VBScript?
Like blocking referrer's from:
192.025.215.001
and
altavista.com
Watch wrapping -
<% if request.servervariables("remote_addr") = "192.025.215.001" then
'do what you want
elseif instr(lcase(request.servervariables
("http_referer")),"altavista.com") > 0 then
'do what you want to altavista
end if
%>
Just out of curiosity, why do you want to block AltaVista? AFAIK, it's
still a good search engine, and it's spider does honor the Robots Exclusion
Standard.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.