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-08-30, 05:21 PM   #1
kalle7
Hey, can you take the wheel for a second, I have to scratch my self in two places at once
 
kalle7's Avatar
 
Join Date: Jan 2004
Location: Here and there...
Posts: 182
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!
kalle7 is offline   Reply With Quote
Old 2005-08-30, 05:34 PM   #2
urb
All the way from Room 101
 
urb's Avatar
 
Join Date: Aug 2003
Posts: 3,557
Send a message via ICQ to 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.
__________________
urb is offline   Reply With Quote
Old 2005-08-30, 05:43 PM   #3
Tommy
NYC Boy That Moved To The Island
 
Join Date: Apr 2003
Posts: 2,940
Send a message via ICQ to Tommy
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
__________________
Accepting New partners
Tommy is offline   Reply With Quote
Old 2005-08-30, 06:30 PM   #4
kalle7
Hey, can you take the wheel for a second, I have to scratch my self in two places at once
 
kalle7's Avatar
 
Join Date: Jan 2004
Location: Here and there...
Posts: 182
Thanks Urb and Tommy

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.
kalle7 is offline   Reply With Quote
Old 2005-08-30, 10:59 PM   #5
juggernaut
Registered User
 
juggernaut's Avatar
 
Join Date: Apr 2005
Location: Central Jersey! If I was rich and powerful I would dress as my avatar does.
Posts: 1,448
Send a message via Yahoo to juggernaut
Post who they are so everyone here can at least keep an eye out.
juggernaut is offline   Reply With Quote
Old 2005-08-30, 11:40 PM   #6
Halfdeck
You can now put whatever you want in this space :)
 
Halfdeck's Avatar
 
Join Date: Oct 2004
Location: New Haven, CT
Posts: 985
Send a message via ICQ to Halfdeck
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.
__________________
Success is going from failure to failure without a loss of enthusiasm.
Halfdeck is offline   Reply With Quote
Old 2005-08-30, 11:47 PM   #7
juggernaut
Registered User
 
juggernaut's Avatar
 
Join Date: Apr 2005
Location: Central Jersey! If I was rich and powerful I would dress as my avatar does.
Posts: 1,448
Send a message via Yahoo to juggernaut
Nice tool

http://www.bitesizeinc.net/demo.htaccesser.html
juggernaut is offline   Reply With Quote
Old 2005-08-31, 05:15 AM   #8
Fonz
Former pr0n slinger.
 
Fonz's Avatar
 
Join Date: Aug 2003
Location: Antwerp, Belgium
Posts: 7,929
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/
__________________
See how I abuse little trees on my Shumi no Bonsai Blog
Fonz is online now   Reply With Quote
Old 2005-08-31, 06:01 AM   #9
eskimoen
Rock stars ... is there anything they don't know?
 
Join Date: Aug 2004
Posts: 10
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.
eskimoen is offline   Reply With Quote
Old 2005-08-31, 11:26 AM   #10
wolfie
Shut up brain, or I'll stab you with a Q-tip!
 
wolfie's Avatar
 
Join Date: May 2005
Location: Everywhere
Posts: 119
Send a message via ICQ to wolfie
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.
wolfie 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 11:05 AM.


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