help with my site bandwidth!!

He has: 3 posts

Joined: Jul 2006

Hi guys,

can anyone help me please???

Is there any way I can ban an I.P address from using my site?
I noticed one I.P address seems to be using up a lot of my bandwidth this past week, nearly 7,400 hits in just five days from the same I.P address and I have no idea why!
I want to try and stop it before it gets out of control, its really unusual for my site as I dont get a large amount of traffic.

Does anyone have any idea why this is happening or what I can do to prevent it?

Thanks, MKR

http://www.easycashuk.co.uk

He has: 490 posts

Joined: May 2005

I had someone use my site as their homepage once. They evidently used as a desktop background also, as visit length would be sometimes 2 hours.

I just placed a small note at the bottom of my page for a few days, asking that no one use my site for a homepage or desktop background, it stopped.

He has: 3 posts

Joined: Jul 2006

Cheers Steve, I will give that a try.

Busy's picture

He has: 6,151 posts

Joined: May 2001

to block them, make a .htaccess file if you don't all ready have one and add the url. .htaccess's contents would be:

Options +FollowSymlinks

order allow,deny
allow from all
deny from 11.22.333.444

change 11.22.333.444 with the url of the 'hogger'

He has: 3 posts

Joined: Jul 2006

I will have a go, cheers Busy your a star

Busy's picture

He has: 6,151 posts

Joined: May 2001

MKR wrote: I will have a go, cheers Busy your a star

I know Wink but they wont give me a spot on Hollywood blvd Sad *sure would be a 'busy' lil spot muhahaha*

They have: 33 posts

Joined: Aug 2005

I have a related question...

After a new site installation, my host has this .htaccess file already set up in the site's root directory:

# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
'

Like MKR above, I have a few IP's I want to block... but the "deny from all" line has me wondering, where do I list the IP's to be blocked? Do I replace the "deny from all" line, or remove it and place the "deny from 123.456.78.9" statement after the "allow from all" line?

Any help will be greatly appreciated!

R/L

pr0gr4mm3r's picture

He has: 1,502 posts

Joined: Sep 2006

Just change the 'limit GET POST' to what Busy posted and add a line for each IP address that you want to block.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.