View Single Post
Old 02-04-2005, 11:41 AM  
RedShoe
赤い靴 call me 202-456-1111
 
RedShoe's Avatar
 
Industry Role:
Join Date: Feb 2001
Location: The Valley
Posts: 14,831
some htaccess info for the newbies. Fun stuff.

Hi.

I'm sure most of you have htaccess files on your servers for various redirects and image protection. For the newbies this lesson can be a painful one.

I have a domain that has just a couple of galleries on it. It's one of those sites that I'm "supposed to get to". Anyway, some fucker assholes were hotlinking that gallery. I just now noticed it in my stats.

First thing up. Toss a generic htaccess into that main directory to prevent them from hotlinking.

Second thing up, find the most disgusting pic on thie internet and use that as a rewrite rule.

Here is a basic example of what you new guys and gals should have in your haccess files.


RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://domain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.domain.com/.*$ [NC]RewriteCond %{HTTP_REFERER} !^http://IP/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.IP/.*$ [NC]
RewriteRule \.(gif|jpg)$ http://www.domain.com/nasty.jpg [R,L]

it's probably overkill to use the IP as well, but that's just how I was learned.
All you do is add your domain, and add a disgusting pic.. or even a banner if you want. (always thinkin' of the dollar)

Just save that to a text file call it htaccess.txt and then upload it to your directories. Then rename it on your server to .htaccess

Note that you can't server your nasty.jpg from a place where you have antihotlinking. So it's best to have the nasty.jpg in the root.

I say fuck 'em I go for the gross pic.

My nasty pic is of a jumper. GROSS!!! They guy is totally mushed up and .. just gross.

Anyway, fuck the hotlinkers. Have fun. Enjoy.

...and if you come to a sex site and see a pic of a jumper with his guts all over the road, just think of me and smile.
__________________

SPECIALTY COSTUMES • PROPS • FX
Superheroes • Monsters • Robots
PM for details


For any manufacturing needs. Adult or otherwise.

aka BonsHigh on Insta
Bonsai weed plants



Last edited by RedShoe; 02-04-2005 at 11:43 AM..
RedShoe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote