Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2005-01-28, 06:22 AM   #1
swedguy
Vagabond
 
swedguy's Avatar
 
Join Date: Aug 2003
Posts: 2,374
Send a message via ICQ to swedguy
Have in mind that by redirecting all hotlink traffic to that page you will use up more bandwidth than just the single picture they are hotlinking.

The page you redirect to is 367kB including all pictures. So it's just to calculate what the total bw used is if they hotlink 10, 50 or 100 pics. It adds up.

If bandwidth is a concern, use this RewriteRule instead:

RewriteRule .* - [F]
swedguy is offline   Reply With Quote
Old 2005-01-28, 07:12 AM   #2
lux_interior
Are you sure you're an accredited and honored pornographer?
 
lux_interior's Avatar
 
Join Date: Apr 2004
Location: Hawaii
Posts: 69
Quote:
Originally Posted by swedguy
Have in mind that by redirecting all hotlink traffic to that page you will use up more bandwidth than just the single picture they are hotlinking.

The page you redirect to is 367kB including all pictures. So it's just to calculate what the total bw used is if they hotlink 10, 50 or 100 pics. It adds up.

If bandwidth is a concern, use this RewriteRule instead:

RewriteRule .* - [F]
Thanks for that and I hear ya! The way I figure it is I stand a vague chance of selling something off that page where as when somebody just link directly to a pic I've got zero chance. You do raise an interesting point though. Maybe for the asian traffic I'll redirect to an asian sponsor rather than my generic 404 page.

On your second point would you care to expand a bit as I'm not really too hot on .htaccess

Thanks again for your intelligent response.

Lux
lux_interior is offline   Reply With Quote
Old 2005-01-28, 07:42 AM   #3
eskimoen
Rock stars ... is there anything they don't know?
 
Join Date: Aug 2004
Posts: 10
Quote:
RewriteRule .* - [F]
Means that a 403 Forbidden http response will be sent to the browser. If you have a ErrorDocument 403 in your htaccess the surfer will be redirected to this url.

http://www.htaccesstools.com/block-hitbots/ allows you to block or redirect the hitbots or what ever it is. If you do not set a "Redirection URL" hits will just be blocked.
eskimoen is offline   Reply With Quote
Old 2005-01-28, 08:17 AM   #4
lux_interior
Are you sure you're an accredited and honored pornographer?
 
lux_interior's Avatar
 
Join Date: Apr 2004
Location: Hawaii
Posts: 69
Quote:
Originally Posted by eskimoen
Means that a 403 Forbidden http response will be sent to the browser. If you have a ErrorDocument 403 in your htaccess the surfer will be redirected to this url.

http://www.htaccesstools.com/block-hitbots/ allows you to block or redirect the hitbots or what ever it is. If you do not set a "Redirection URL" hits will just be blocked.
Thanks for the clarification.

I tried that tool and generated a .htaccess file but still some of the sites seem to be able to access my sites.

Lux
lux_interior is offline   Reply With Quote
Old 2005-01-28, 10:13 AM   #5
eskimoen
Rock stars ... is there anything they don't know?
 
Join Date: Aug 2004
Posts: 10
Quote:
Originally Posted by lux_interior
Thanks for the clarification.

I tried that tool and generated a .htaccess file but still some of the sites seem to be able to access my sites.

Lux
It generates a htaccess that blocks based on http referer. You can not block ips with this method.

I just added a new tool, Block IPs. Use this if you want to block based on ip instead of http referer.
http://www.htaccesstools.com/block-ips/
eskimoen is offline   Reply With Quote
Old 2005-01-28, 10:23 AM   #6
tiny
Hello, is this President Clinton? Good! I figured if anyone knew where to get some tang it would be you
 
Join Date: Aug 2003
Location: maine
Posts: 447
Try a
deny from (numeric iaddress)
tiny is offline   Reply With Quote
Old 2005-01-28, 01:54 PM   #7
Osiris
No offence Apu, but when they were handing out religions you must have been out taking a whizz
 
Osiris's Avatar
 
Join Date: Apr 2003
Location: New Orleans
Posts: 283
Send a message via ICQ to Osiris Send a message via Yahoo to Osiris
Quote:
Originally Posted by eskimoen
It generates a htaccess that blocks based on http referer. You can not block ips with this method.

I just added a new tool, Block IPs. Use this if you want to block based on ip instead of http referer.
http://www.htaccesstools.com/block-ips/
Is that your site? Someone showed this to me a good while back and I always thought it kicked ass since I don't know much of anything about .htaccess

I'm still having trouble combining 2 .htaccess files into one.. I need hotlink protection and hitbot blocking all in one.. When I put all the code into one .htaccess I mess everything up!
__________________
Osiris is offline   Reply With Quote
Old 2005-01-28, 03:35 PM   #8
Wazza
I'm a jaded evil bastard, I wouldn't piss on myself if I was on fire...
 
Join Date: Apr 2003
Location: Melbourne, Australia
Posts: 808
Send a message via ICQ to Wazza
Are you clearing your cache prior to checking if they can hotlink?
__________________
I sale Internet

My sites have no traffic and no PR - let's trade - PM me
Wazza is offline   Reply With Quote
Old 2005-01-29, 12:28 PM   #9
eskimoen
Rock stars ... is there anything they don't know?
 
Join Date: Aug 2004
Posts: 10
Quote:
Originally Posted by Osiris
Is that your site? Someone showed this to me a good while back and I always thought it kicked ass since I don't know much of anything about .htaccess

I'm still having trouble combining 2 .htaccess files into one.. I need hotlink protection and hitbot blocking all in one.. When I put all the code into one .htaccess I mess everything up!
Yes, its mine.

Feel free to post your htaccess questions on http://www.htaccesstools.com/board/
eskimoen is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:11 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc