Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   General Business Knowledge (http://www.greenguysboard.com/board/forumdisplay.php?f=10)
-   -   htaccess problem (http://www.greenguysboard.com/board/showthread.php?t=23523)

kalle7 2005-08-30 05:21 PM

htaccess problem
 
Hi,
I am having a problem regarding my htaccess file on one of my domains. I have a bunch of hotlinkers and I mean a bunch. I have used the "Block hitbots with .htaccess" tool that is located here: http://www.htaccesstools.com/block-hitbots/

When I type in all the domains that is hotlinking to my things I get a list of about 180 domains and I am redirecting that traffic to another domain of mine.

My problem is that when I put this htaccess file up on the server everything on the server loads slowly. I have talked with the support department at my hosting company and they have told me that it could be the amount of redirecting traffic that causes the slowness in the system. The second I take away the htaccess file it is all good again.

Have anyone another solution for me about this problem? I would like to keep on redirecting the hotlinking traffic |clown|

Thanks!

urb 2005-08-30 05:34 PM

If you are re-directing to the same domain that the .htaccess is on then it's looping, which will cause server strain.

But 180 domains is 180 things to check for the server before it serves a page. :(

So about half way down this page
http://www.cleos-porn-links.com/adul...aster-help.php
there is a more efficient way of blocking everything except the domain you intended the images to be served from.

Tommy 2005-08-30 05:43 PM

that happened to me a long time ago

you cant have a lot of domains in those hta files

the server has to stop and check each time something is requested

kalle7 2005-08-30 06:30 PM

Thanks Urb and Tommy |thumb

I guess I will have to block the domains that is hotlinking. Better to save on the bandwith as I guess the traffic I am getting from it is not of the best quality.

juggernaut 2005-08-30 10:59 PM

Post who they are so everyone here can at least keep an eye out.

Halfdeck 2005-08-30 11:40 PM

Quote:

Originally Posted by urb
If you are re-directing to the same domain that the .htaccess is on then it's looping, which will cause server strain.

But 180 domains is 180 things to check for the server before it serves a page. :(

So about half way down this page
http://www.cleos-porn-links.com/adul...aster-help.php
there is a more efficient way of blocking everything except the domain you intended the images to be served from.

You'll have to mod Cleo's .htaccess code I believe if you want images indexed by Google.

juggernaut 2005-08-30 11:47 PM

Nice tool

http://www.bitesizeinc.net/demo.htaccesser.html

Fonz 2005-08-31 05:15 AM

Quote:

Originally Posted by juggernaut

Nice tool indeed, it looks even cooler if you download the code and put it on one of your own domains like http://www.porndiner.com/htaccess/ :)

eskimoen 2005-08-31 06:01 AM

Quote:

Originally Posted by kalle7
Hi,
I am having a problem regarding my htaccess file on one of my domains. I have a bunch of hotlinkers and I mean a bunch. I have used the "Block hitbots with .htaccess" tool that is located here: http://www.htaccesstools.com/block-hitbots/

When I type in all the domains that is hotlinking to my things I get a list of about 180 domains and I am redirecting that traffic to another domain of mine.

My problem is that when I put this htaccess file up on the server everything on the server loads slowly. I have talked with the support department at my hosting company and they have told me that it could be the amount of redirecting traffic that causes the slowness in the system. The second I take away the htaccess file it is all good again.

Have anyone another solution for me about this problem? I would like to keep on redirecting the hotlinking traffic |clown|

Thanks!

If you want to stop hotlinking you should use http://www.htaccesstools.com/hotlink-protection/

With this tool you can specify which domains to ALLOW hotlinking from. Its a whitelist approach and is often much better than creating a blacklist.

wolfie 2005-08-31 11:26 AM

Quote:

Originally Posted by eskimoen
If you want to stop hotlinking you should use http://www.htaccesstools.com/hotlink-protection/

With this tool you can specify which domains to ALLOW hotlinking from. Its a whitelist approach and is often much better than creating a blacklist.

I agree with Eskimoen.
Blacklist can become a very big list and you need to update it when more hotlinkers come.


All times are GMT -4. The time now is 07:30 PM.

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