![]() |
![]() |
![]() |
||||
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 |
IL4L.com
Join Date: Aug 2003
Location: Israel - ICQ: 162136565
Posts: 11,287
|
Blocking hotlinking only from specific domains...
What code should I use if I wanblock hotlinking only from a couple of specific domains, and allow hotlinking from all the rest?
Thanks ![]()
__________________
Find fuck buddies in your area! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Too lazy to set a custom title
Industry Role:
Join Date: Mar 2004
Posts: 16,116
|
google.
__________________
Your Paysite Partner Strength In Numbers! StickyDollars | RadicalCash | KennysPennies | HomegrownCash |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
So Fucking Banned
Join Date: Nov 2003
Location: T.O.
Posts: 2,430
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Too lazy to set a custom title
Industry Role:
Join Date: Oct 2002
Location: Montreal, Quebec
Posts: 29,673
|
just use "deny" in your .htaccess file...
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT ! But I can't figure out how he can breathe or type , at the same time .... |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
IL4L.com
Join Date: Aug 2003
Location: Israel - ICQ: 162136565
Posts: 11,287
|
Quote:
__________________
Find fuck buddies in your area! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Too lazy to set a custom title
Industry Role:
Join Date: Oct 2002
Location: Montreal, Quebec
Posts: 29,673
|
The most common scenario is where you want everyone except a few visitors to be able to get to your site. Your .htaccess file would start like this:
order allow,deny allow from all Then you follow that with lines to specify the addresses that you want to block: deny from 192.168.128.14 deny from 192.168.128. deny from somehost.example.com deny from .example.com Leaving to p/u gf ... but it is very easy. Use notepad to make the file called .htaccess ( note the . before the name ). Put the file in the folder that you want to protect. ![]()
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT ! But I can't figure out how he can breathe or type , at the same time .... |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
IL4L.com
Join Date: Aug 2003
Location: Israel - ICQ: 162136565
Posts: 11,287
|
Quote:
![]() would be better though if you could just copy a code from your site that does that and send me via icq: 162136565 if you can... I don't know anything about htacces, so I better just get such code and copy it someone must have it...
__________________
Find fuck buddies in your area! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
IL4L.com
Join Date: Aug 2003
Location: Israel - ICQ: 162136565
Posts: 11,287
|
anyone got such code?
I'd really appreciate it
__________________
Find fuck buddies in your area! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Too lazy to set a custom title
Industry Role:
Join Date: Oct 2002
Location: Montreal, Quebec
Posts: 29,673
|
Quote:
open notepad hahahaha=> type the following, changing the domain and/or the IP's to block hahahaha=> --- start ----- order allow,deny allow from all deny from 192.168.128.14 deny from 192.168.128. deny from somehost.example.com deny from .example.com ---- end ---- - Save it as a text file. It will be like htaccess.txt . - Upload it to the folder ( the one you want to protect and all under it ) in your server . - rename it .htaccess ( note no more extension text ). for more help : http://baremetal.com/gadgets/htaccess/access.html http://www.webpimps.com/scripts/htaccess/ http://www.htmlbasix.com/disablehotlinking.shtml and as stated above " google ' Good luck... I'm out of here
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT ! But I can't figure out how he can breathe or type , at the same time .... |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
IL4L.com
Join Date: Aug 2003
Location: Israel - ICQ: 162136565
Posts: 11,287
|
Quote:
![]() I'll test it later to see if it works...
__________________
Find fuck buddies in your area! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |