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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-26-2004, 02:51 AM   #1
bringer
i have man boobies
 
bringer's Avatar
 
Join Date: Jul 2003
Location: van down by the river
Posts: 13,082
block hotlinking

ive tried all the examples i could find on making the .htaccess and when i do as stated in the examples and put in my domain and put the file on my server, all the files within that folder i place the .htaccess file wont show even if linked on my site. anyone know what the problem is and how i can fix this?
__________________
333-765-551
bringer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-26-2004, 02:59 AM   #2
LiveDose
Show Yer Tits!
 
LiveDose's Avatar
 
Industry Role:
Join Date: Feb 2002
Location: Somewhere Out there...
Posts: 25,792
post what you are doing.
__________________

Scammer Alert: acer19 acer [email protected] [email protected] Money stolen using PayPal
LiveDose is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-26-2004, 03:01 AM   #3
bringer
i have man boobies
 
bringer's Avatar
 
Join Date: Jul 2003
Location: van down by the river
Posts: 13,082
now that ive enabled rewrite the images show even if hotlinked from other sites

.htaccess

RewriteEngine on
RewriteCond %{HTTP_REFERER}!^http://elite-galleries.com.*$ [NC]
RewriteCond %{HTTP_REFERER}!^http://www.elite-galleries.com.*$ [NC]
RewriteRule .*.(gif¦GIF¦jpg¦JPG)$ - [F]

do i need to add anything in the httpd.conf?
__________________
333-765-551

Last edited by bringer; 03-26-2004 at 03:08 AM..
bringer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-26-2004, 03:08 AM   #4
bringer
i have man boobies
 
bringer's Avatar
 
Join Date: Jul 2003
Location: van down by the river
Posts: 13,082
anyone know?
__________________
333-765-551
bringer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-26-2004, 03:10 AM   #5
johnbosh
Confirmed User
 
Join Date: Aug 2002
Location: The Netherlands, Rotterdam
Posts: 8,965
I once uplaoded an .httaccess fiel and my site wasnt able to laod
johnbosh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-26-2004, 03:29 AM   #6
LiveDose
Show Yer Tits!
 
LiveDose's Avatar
 
Industry Role:
Join Date: Feb 2002
Location: Somewhere Out there...
Posts: 25,792
RewriteEngine on
RewriteOptions inherit
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^.*yoursite.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^.*your site ip#.*$ [NC]
RewriteRule .*[Jj][Pp][Ee]*[Gg]$|.*[Gg][Ii][Ff]$ hotlink.gif




try this.
__________________

Scammer Alert: acer19 acer [email protected] [email protected] Money stolen using PayPal
LiveDose is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-26-2004, 03:36 AM   #7
SGS
Confirmed User
 
SGS's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: Mallorca - Nottingham
Posts: 5,176
This will help you:

http://www.htmlbasix.com/disablehotlinking.shtml
__________________
See sig...
SGS is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-26-2004, 03:38 AM   #8
johnbosh
Confirmed User
 
Join Date: Aug 2002
Location: The Netherlands, Rotterdam
Posts: 8,965
Quote:
Originally posted by SGS
This will help you:

http://www.htmlbasix.com/disablehotlinking.shtml
niceq
johnbosh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-26-2004, 05:45 AM   #9
Lycanthrope
Confirmed User
 
Lycanthrope's Avatar
 
Industry Role:
Join Date: Jan 2004
Location: Wisconsin
Posts: 4,517
add your IPs and port 80... hell just let me copy a recent one:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://domain.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.domain.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://domain.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.doman.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://xx.xxx.xx.xx.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://xx.xxx.xx.xx:80.*$ [NC]
RewriteRule .*[Jj][Pp][Gg]$|.*[Jj][Pp][Ee][Gg]$|.*[Gg][Ii][Ff]$ http://www.domain.com/hotlink.html

Then, create a seperate file called ^ hotlink.html and in that file create a simple hyperlink "click here to continue" going nowhere... this will probably not ever be seen. Or, to catch those that think they are crafty by C&Ping... link it to a dialer and use a mouseover pointing to your root index file.

This hotlink.html call will elminate filling up your error log w/ useless info.
__________________
Lycanthrope is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-26-2004, 05:50 AM   #10
mryellow
Confirmed User
 
Industry Role:
Join Date: May 2001
Location: Australia
Posts: 934
http://www.webpimps.com/scripts/htaccess/

Few tricks and tips.

-Ben
__________________
Cyberwurx Hosting
After trying 5 different hosts, I found the best.
Since 1997 I've had 2 hours of downtime.
Fast support, great techs, no hype, no gimmicks.

<- I in no way endorse whatever just got stuck on the left of my post.
mryellow is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-26-2004, 05:54 AM   #11
Lycanthrope
Confirmed User
 
Lycanthrope's Avatar
 
Industry Role:
Join Date: Jan 2004
Location: Wisconsin
Posts: 4,517
Quote:
Then, create a seperate file called ^ hotlink.html and in that file create a simple hyperlink "click here to continue" going nowhere... this will probably not ever be seen. Or, to catch those that think they are crafty by C&Ping... link it to a dialer and use a mouseover pointing to your root index file.

This hotlink.html call will elminate filling up your error log w/ useless info.
or you could redirect it to a "stolen from" type image, but if you have a lot of attempts, it could eat a small amount of bandwith.

I don't remember where I got this from, but the credit is theirs , however the linking to a dialer idea was mine due to all the leech forum traffic I was getting
__________________
Lycanthrope is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-26-2004, 05:55 AM   #12
Lycanthrope
Confirmed User
 
Lycanthrope's Avatar
 
Industry Role:
Join Date: Jan 2004
Location: Wisconsin
Posts: 4,517
Quote:
Originally posted by mryellow
http://www.webpimps.com/scripts/htaccess/

Few tricks and tips.

-Ben
Damn, that's where I got it from! Thanks Ben.
__________________
Lycanthrope is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.