batface - 6:15 pm on Nov 5, 2012 (gmt 0)
hehe, ok Lucy here goes.
Some landing page has a background image, so somewhere in the code is images/image.png. Using the following rewrite the page serves up the new background image - this works a treat, just what i'm looking for.
RewriteRule ^images/image\.png$ http://www.example.com/directory/images/new-image.png[L]
What we want is a rule that if a specific external domain visits that page with the background image the alternative background image is used.
I am confused because the rewrite to set the URL to forbidden (whether I need the www or not)works with the referer set.