Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- xurl referrer spam


lucy24 - 6:40 am on Jul 20, 2012 (gmt 0)


Yes, well, you do want to block them don't you? I hope you are not worried about hurting their feelings ;)

Try to avoid the [OR] construction in RewriteConds. Sometimes it does the opposite of what you intended. And sometimes there's a shorter easier way, as in

%{HTTP_REFERER} x(url|ref)

I generally constrain Rewrite blocks to requests for pages, so the server doesn't have to take that extra hiccup every single time. Robots don't usually walk in off the street and start asking for stylesheets.

That's where you get the
(\.html|/)$
above. Substitute your own extension, of course. And you may need some further tweaking if they're asking for your top-level Index page.


Thread source:: http://www.webmasterworld.com/apache/4440570.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com