GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   some htaccess info for the newbies. Fun stuff. (https://gfy.com/showthread.php?t=426999)

RedShoe 02-04-2005 11:41 AM

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. :)

beemk 02-04-2005 11:52 AM

i wouldnt want to waste my bandwidth on a gross pic. i just redirect them to a sponsor code or something else that will make me money.

RedShoe 02-04-2005 12:05 PM

Quote:

Originally Posted by beemk
i wouldnt want to waste my bandwidth on a gross pic. i just redirect them to a sponsor code or something else that will make me money.

I don't think I've ever made a single sale that way. You can track if you redirect to a php. I laugh at the thought of them seeing that pic. That in turn makes me happy, and I increase my own morale that way. And when I'm happy I can work smarter. When I work smarter I earn more. And when I earn more I buy silly little gifts for my roaches.

DWB 02-04-2005 12:56 PM

Quote:

Originally Posted by RedShoe
I don't think I've ever made a single sale that way. You can track if you redirect to a php. I laugh at the thought of them seeing that pic. That in turn makes me happy, and I increase my own morale that way. And when I'm happy I can work smarter. When I work smarter I earn more. And when I earn more I buy silly little gifts for my roaches.


:thumbsup It's not all about money. That's why I love you brother Redshoe.

SDSimon 02-04-2005 02:03 PM

RE: " It's not all about money. That's why I love you brother Redshoe."

Redshoe is a nice man! :)

>>>>Winners "WIN" because they "NEVER GIVE UP!"<<<<

lokiproductions 02-04-2005 10:24 PM

Newbie type question.

Does this then also protect subdomains?

And for someone posting galleries to TPG's are there instances where hotlinking is required?

Spunky 02-04-2005 10:27 PM

Can I see the jumper pic? :upsidedow

RedShoe 02-04-2005 10:31 PM

Thanks DWB. You and I are truly brothers from other muthas.

Quote:

Originally Posted by lokiproductions
Newbie type question.

Does this then also protect subdomains?

And for someone posting galleries to TPG's are there instances where hotlinking is required?


htaccess can protect an entire domain, or just a certain folder.

And as far as I know you should never have to hotlink anything when posting to a TGP. Your gallery should have all the images and thumbs right there in that folder. It gets too messy any other way. As for your recips they are linked from within your own domain, so that shouldn't be a problem.

However... if for whatever reason you would need to hotlink, or allow yourself to be hotlinked, just add that domain into the htaccess. Just add lines like this.


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]
RewriteCond %{HTTP_REFERER} !^http://domain1.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.domain1.com/.*$
RewriteCond %{HTTP_REFERER} !^http://domain2.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.domain2.com/.*$
RewriteCond %{HTTP_REFERER} !^http://domain3.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.domain3.com/.*$
RewriteCond %{HTTP_REFERER} !^http://domain4.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.domain4.com/.*$
RewriteRule \.(gif|jpg)$ http://www.domain.com/nasty.jpg [R,L]

Spike D 02-04-2005 10:50 PM

Thanks for the info :thumbsup

fris 02-04-2005 10:52 PM

i use antihotlinking.com for movies and jpgs

and every thing pretty much

kuthi123 02-04-2005 11:21 PM

thanks for your tips

RedShoe 02-05-2005 03:27 AM

Quote:

Originally Posted by fris
i use antihotlinking.com for movies and jpgs

and every thing pretty much

My jumper pic will definitly fuck you up... just a little. I hope people become physically ill looking at it. I hope the image burns in their heads. I hope some cry. I hope some puke. :winkwink:

yuvalus 02-05-2005 06:21 AM

good way to get rid of fusker leachers

Jey p 02-05-2005 06:24 AM

Thanks for the tip.
I saw that some people hotlinks gallerie's full size pics on boards n things like that...

jukeboxfrank 02-05-2005 06:32 AM

How do you handle the people that come to your site but block their referer.
Do they get the nasty pic and is that a smart thing?

Rui 02-05-2005 10:18 AM

Quote:

Originally Posted by RedShoe
My jumper pic will definitly fuck you up... just a little. I hope people become physically ill looking at it. I hope the image burns in their heads. I hope some cry. I hope some puke. :winkwink:

You are pure evil :1orglaugh :thumbsup

beemk 02-06-2005 07:06 PM

Quote:

Originally Posted by DirtyWhiteBoy
:thumbsup It's not all about money.

i dont know about you, but i'm in this business to make money. not to play pranks on surfers.


All times are GMT -7. The time now is 03:15 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123