Forum Moderators: phranque
I have someone who's lifting material right from my web site using different tools. First it was lwp-trivial, and I was able to stop that from happening. Now it's LWP::Simple/5.805 since they couldn't get the content anymore using lwp-trivial.
I added just plain LWP (see line 2) but it didn't stop them last night. Do I need the actual version number (like line 4)? I didn;t for lwp-trivial or Wget. Maybe something else is wrong with this? I had accidentally put an [OR] after the line with no other condition following. Could that have made it fail?
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} ^lwp-trivial [OR]
RewriteCond %{HTTP_USER_AGENT} ^LWP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Wget [OR]
RewriteCond %{HTTP_USER_AGENT} ^LWP::Simple/5.805
RewriteRule ^.*$ [my.domain...] [R,L]
Thanks,
Beth