![]() |
![]() |
![]() |
||||
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
|
HTACCESS help please
I need a htaccess code that blocks hotlinking to images that take more then 10k in size.
Images smaller then 10k can be hotlinked, but if someone tries to hotlink to a bigger image it will redirect him to the URL that I specify... can this be arranged? maybe someone has a similar code premade..I'd appreciate that
__________________
Find fuck buddies in your area! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
IL4L.com
Join Date: Aug 2003
Location: Israel - ICQ: 162136565
Posts: 11,287
|
Oh and I need a code I can put in the root directory and it will block hotlinking all over the domain. In all directories...
I don't want a code that I need to put in every dir
__________________
Find fuck buddies in your area! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Too lazy to set a custom title
Join Date: Jul 2002
Posts: 40,377
|
u got an innovative sig
__________________
I don't use ICQ anymore. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
IL4L.com
Join Date: Aug 2003
Location: Israel - ICQ: 162136565
Posts: 11,287
|
Quote:
![]()
__________________
Find fuck buddies in your area! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,372
|
Quote:
like whip up something in perl to check the file size and you could execute it from mod_rewrite.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Mar 2003
Location: Toronto, Ontario
Posts: 4,402
|
You should be able to find what you need on this site:
http://www.hahahahahahahahahahakit.c...htaccess.shtml You want to block all hot linking in an .htaccess file in the root. To allow for smaller files, using .htaccess, you must put them in directory, or tree, and allow hotlinking using another .htaccess file.
__________________
![]() Paul |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
IL4L.com
Join Date: Aug 2003
Location: Israel - ICQ: 162136565
Posts: 11,287
|
Quote:
i'll tell you what i need this for.. for a domain that i have tgp galleries on, i want to block hotlinking so that russian fucking porn sites won't hotlink my pics.. i want to allow small ones, because certein tgp's hotlink your thumb for a gallery...thumbs are less then 10k most of the time, and big pics are more then 10k, so i thought about this solution, but if it's too complicated, i'd have to think of something else
__________________
Find fuck buddies in your area! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |