![]() |
The contest:
Anti-Hotlinking .htaccess file for bunnypancake.com that stops hotlinking of the bunnypancake.jpg pic in the root whilst still allowing http://www.bunnypancake.com to access the image. At the same time, if the pic is hotlinked, it should display bunny.jpg located on the domain root. The prize: $10 by paypal / epass. |
Additional info:
See this thread for a bunch of .htaccess files that dont work: http://www.oprano.com/msgboard/index...howtopic=19015 |
Quote:
How come with every client you have to give them what they ask for before you find out what they want :headwall: :headwall: this should work just fine. You can figure out all the various cases yourself :nyanya: AuthUserFile /dev/null AuthGroupFile /dev/null RewriteEngine On RewriteCond %{HTTP_REFERER} !^http://www.bunnypancake.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.bunnypancake.com:80/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://bunnypancake.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://bunnypancake.com:80/.*$ [NC] ReWriteRule .*\bunnypancake.jpg$ http://www.bunnypancake.com/bunny.jpg [R,L] |
Quote:
How come with every client you have to give them what they ask for before you find out what they want :headwall: :headwall: this should work just fine. You can figure out all the various cases yourself :nyanya: AuthUserFile /dev/null AuthGroupFile /dev/null RewriteEngine On RewriteCond %{HTTP_REFERER} !^http://www.bunnypancake.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.bunnypancake.com:80/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://bunnypancake.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://bunnypancake.com:80/.*$ [NC] ReWriteRule .*\bunnypancake.jpg$ http://www.bunnypancake.com/bunny.jpg [R,L] [/b][/quote] Well its online lets see if it works ;) http://www.bunnypancake.com/bunnypancake.jpg |
WOO HOO!
We have a winner :rokk: Sare if you want that Epass / paypal just shoot me a PM with your info, a deal is a deal afterall :okthumb: |
Where was the two week's clause?
|
All the .htaccess that was posted in that thread works for me... you've either got cocksucker hosting or you can't cut and paste :P
|
Quote:
But, not to make an example (but gonna anyway) here is what I am talking about. What you asked for in the other thread was: Quote:
In this thread you described it as: Quote:
Once I had the 2nd request it was easy to do exactly what you wanted (actually just took the most basic image protection I had and made it specific to the image you wanted to protect) With programmers you usually get exactly what you ask for, so you got to make sure what you ask for is actually what you want, otherwise you will go through several rounds of "Those fucking programmers" as they spend their two weeks building what you asked for, then spending more time building what you wanted :blink: |
Hahahaha.. great post Sare...
:pearl: |
| All times are GMT -4. The time now is 05:41 PM.. |
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright Evil Empire Inc. 2006-2022