|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
赤い靴 call me 202-456-1111
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. 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 |
|
|
|
|
|
#3 | |
|
赤い靴 call me 202-456-1111
Industry Role:
Join Date: Feb 2001
Location: The Valley
Posts: 14,831
|
Quote:
__________________
SPECIALTY COSTUMES • PROPS • FX Superheroes • Monsters • Robots PM for details For any manufacturing needs. Adult or otherwise. aka BonsHigh on Insta Bonsai weed plants |
|
|
|
|
|
|
#4 | |
|
Registered User
Industry Role:
Join Date: Jul 2003
Location: Encrypted. Access denied.
Posts: 31,779
|
Quote:
|
|
|
|
|
|
|
#5 |
|
Confirmed User
Join Date: Aug 2002
Location: Calif. USA
Posts: 140
|
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!"<<<< |
|
|
|
|
|
#6 |
|
Confirmed User
Join Date: Jan 2005
Posts: 118
|
Newbie type question.
Does this then also protect subdomains? And for someone posting galleries to TPG's are there instances where hotlinking is required? |
|
|
|
|
|
#7 |
|
I need a beer
![]() Industry Role:
Join Date: Jun 2002
Location: ♠ Toiletville ♠
Posts: 133,949
|
Can I see the jumper pic?
![]()
__________________
|
|
|
|
|
|
#8 | |
|
赤い靴 call me 202-456-1111
Industry Role:
Join Date: Feb 2001
Location: The Valley
Posts: 14,831
|
Thanks DWB. You and I are truly brothers from other muthas.
Quote:
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]
__________________
SPECIALTY COSTUMES • PROPS • FX Superheroes • Monsters • Robots PM for details For any manufacturing needs. Adult or otherwise. aka BonsHigh on Insta Bonsai weed plants |
|
|
|
|
|
|
#9 |
|
Confirmed User
Join Date: Dec 2004
Location: Atlanta
Posts: 600
|
Thanks for the info
|
|
|
|
|
|
#11 |
|
Confirmed User
Join Date: Jan 2005
Posts: 6,478
|
thanks for your tips
|
|
|
|
|
|
#12 | |
|
赤い靴 call me 202-456-1111
Industry Role:
Join Date: Feb 2001
Location: The Valley
Posts: 14,831
|
Quote:
__________________
SPECIALTY COSTUMES • PROPS • FX Superheroes • Monsters • Robots PM for details For any manufacturing needs. Adult or otherwise. aka BonsHigh on Insta Bonsai weed plants |
|
|
|
|
|
|
#13 |
|
Confirmed User
Join Date: Oct 2003
Posts: 1,906
|
good way to get rid of fusker leachers
__________________
Mail me: [email protected] |
|
|
|
|
|
#14 |
|
Confirmed User
Industry Role:
Join Date: Apr 2002
Location: ARGENTINA
Posts: 1,810
|
Thanks for the tip.
I saw that some people hotlinks gallerie's full size pics on boards n things like that... |
|
|
|
|
|
#15 |
|
Confirmed User
Join Date: Apr 2004
Location: www.jenniferworthington.com
Posts: 1,207
|
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? |
|
|
|
|
|
#16 | |
|
web
Join Date: Dec 2001
Location: On icq: 85-483-060
Posts: 9,533
|
Quote:
|
|
|
|
|