Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-21-2005, 08:41 PM
WebProWorld Member
 

Join Date: Sep 2005
Location: USWebCity.com
Posts: 39
ee222 RepRank -1
Default How to block a web site?

Hello,

I want to block some web sites. I cannot block it by IP address because it changes everyday. So I use the script in ".htaccess" file below to blcok them.

<Limit GET>
order deny,allow
deny from www.abc.com
deny from www.123.com
allow from all
</Limit>

But it does block the web site, they keep acccess my web page(site) every mins.

My website server is using Apache/1.3.33.
Operating System is FreeBSD 4.11-STABLE. Thanks.

Best Regards,

Tony
Music News & Entertainment
http://www.USWebcity.com
*
Reply With Quote
  #2 (permalink)  
Old 09-21-2005, 08:54 PM
nullvariable's Avatar
WebProWorld Pro
 

Join Date: Sep 2005
Location: Greenville, SC
Posts: 215
nullvariable RepRank 1
Default

I generally let the guys in the data center handle stuff like this so you may consider submiting a support ticket unless you are hosting the server your self.

You should be able to setup a rule using the iptables firewall to do a reverse dns lookup on the IP address, then if the reverse dns shows the host name you want to block you should be able block it automatically. Sorry I don't know the actuall steps here just the theroy.

Also try contacting their data provider. They may be considered in violation of their terms of service. Unfortunatly you may just have to give up and ignore it. I typically block at least one IP address per day for trying to break into my server. The other day I caught one after 1600+ bad login attempts.

Hope this helps,
NV
__________________
Blog | Web Consulting
Reply With Quote
  #3 (permalink)  
Old 09-21-2005, 09:18 PM
WebProWorld Member
 

Join Date: Sep 2005
Location: USWebCity.com
Posts: 39
ee222 RepRank -1
Default

Thank you for your help. I have already done the submiting to my hosting company. They just want me to check it out some info on the web site and block the web sites by myself. Thanks.
Reply With Quote
  #4 (permalink)  
Old 09-21-2005, 09:21 PM
nullvariable's Avatar
WebProWorld Pro
 

Join Date: Sep 2005
Location: Greenville, SC
Posts: 215
nullvariable RepRank 1
Default

glad I could help!

NV
__________________
Blog | Web Consulting
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: , ,



Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0