What's new

Welcome to Japan Reference (JREF) - the community for all Things Japanese.

Join Today! It is fast, simple, and FREE!

Blocking web-traffic?

ghettocities

後輩
Joined
16 Jun 2002
Messages
800
Reaction score
13
I'm recieving way too much traffic on my website and I was wondering if there is a way to block certain visitors or links from coming onto my site,, I know I've been blocked from sites before so I'm hoping someone here could help me out.

Josh
 

thomas

Unswerving cyclist
Admin
Joined
14 Mar 2002
Messages
10,341
Reaction score
1,775
If you're on Apache, you could use .htaccess to block visitors by full or partial IP, by TLD or by ISP. If RewriteEngine is on, you could even block them by UserAgent. Our JREF .htaccess file is already more than 7kB in size.

:)

More info

=> http://www.clockwatchers.com/htaccess_block.html
 

Keiichi

Hi
Joined
9 Mar 2003
Messages
979
Reaction score
16
7kb! Do you know if .htaccess slows page processing times much? I tend not to put too much commands in it since I'm not sure.
 

thomas

Unswerving cyclist
Admin
Joined
14 Mar 2002
Messages
10,341
Reaction score
1,775
Yes, I'm aware of that, but I'm mostly blocking leechers by UA. Once we have our own server, it will be easier.

:)
 

ghettocities

後輩
Joined
16 Jun 2002
Messages
800
Reaction score
13
Is there anything else cause I don't have Apache, isn't there like some kind of code to block visitors from another website? or IP address?



Josh

 

mdchachi

Moderator
Moderator
Joined
6 Mar 2003
Messages
3,464
Reaction score
969
Check with your ISP; they would have a better idea as to what works with your site. Also, you can dissuade some robots from scanning your site using robots.txt file.
 

scaturan

Kouhai
Joined
15 Mar 2002
Messages
19
Reaction score
0
i run a dedicated server that runs FreeBSD and use its built-in firewall "ipfw" to ban ip addresses. requests made from banned ips wouldn't even reach port 80. I would highly recommend Apache for a web server. i also use "mrtg" to monitor real time traffic. one of the many perks when you have your own server. its not cheap though. :) but if you have the dough, go for it.

netcraft.com renders your site as:
unknown unknown 1-Dec-2003 66.218.79.190
an "unknown" OS running an "unknown" web server.

how much traffic does your site get? perhaps, its time for you to consider a different host. there's tons out there. just have to look for a right one.
 
Top Bottom