hulkster
Mar 27th 2004, 6:48 am
While I don't block outside referrals to the images on my site (kinda humourous to see what people use/link to), I occasionally like to have a little bit of fun with people that do if they don't ask permission first.
So my nightly Analog reports show another BBQ auction on eBay ... and the seller decided to use some pictures from my site - here are my pictures of the Member's Mark BBQ he is using/linking to on the auction (http://www.komar.org/bbq/mm/news.html) ... but I decided that his auction would look a LOT better if his eBay page showed a picture of the Smallest BBQ Grill instead! ;-) (http://www.komar.org/bbq/smallest_bbq/)
I used a .htaccess file and mod_rewrite to do this - looks like this:
RewriteEngine on
RewriteCond %{HTTP_REFERER http://cgi.ebay.com/.*
RewriteRule .*\.jpg$ smallest_bbq_grill_0660.jpg [L]
I actually did this about Midnight last night (about 7 hours ago), but he hasn't noticed yet ... it's somewhat subtle since if you go to my web site, all looks well - it's ONLY if you are coming from Ebay that you would see the switch. Additionally, his browser/ISP/etc. may not show the new image due to caching affects.
Here is the actual Ebay auction. (http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=2390519009&category=20724)
alek
P.S. It's awful tempting to put a "Boobies pictures" or something like that there, but I'm a family man, so I restrained myself ... at least this time! ;-)
So my nightly Analog reports show another BBQ auction on eBay ... and the seller decided to use some pictures from my site - here are my pictures of the Member's Mark BBQ he is using/linking to on the auction (http://www.komar.org/bbq/mm/news.html) ... but I decided that his auction would look a LOT better if his eBay page showed a picture of the Smallest BBQ Grill instead! ;-) (http://www.komar.org/bbq/smallest_bbq/)
I used a .htaccess file and mod_rewrite to do this - looks like this:
RewriteEngine on
RewriteCond %{HTTP_REFERER http://cgi.ebay.com/.*
RewriteRule .*\.jpg$ smallest_bbq_grill_0660.jpg [L]
I actually did this about Midnight last night (about 7 hours ago), but he hasn't noticed yet ... it's somewhat subtle since if you go to my web site, all looks well - it's ONLY if you are coming from Ebay that you would see the switch. Additionally, his browser/ISP/etc. may not show the new image due to caching affects.
Here is the actual Ebay auction. (http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=2390519009&category=20724)
alek
P.S. It's awful tempting to put a "Boobies pictures" or something like that there, but I'm a family man, so I restrained myself ... at least this time! ;-)