Welcome to WebmasterWorld Guest from 184.108.40.206
This is a "guided self-help" forum. Please see our Apache Forum Charter (link at top of this page) for more information on getting the most from this forum.
When the referer contains "example.com" I want to give them one of five html pages that I internally call "spoof1.html". "spoof2.html" ... and so on. The goal is to prevent a sleazy site from stealing my content, and also from knowing that I am telling their users that the sleazy site is a lying, stealing, cheating site.
Here's what I have tried so far...
# External URL-to-URL redirect
RewriteRule ^requested-local-url-path$ http://hostname/new-URL [R=301,L]
# Internal URL-to-filepath rewrite
RewriteRule ^requested-local-url-path$ /internal-filepath [L]