Submit Your Article Forum Rules

Results 1 to 4 of 4

Thread: How to block a web site?

  1. #1

    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
    *
    Make A New Website - USWebCity.com
    Web Hosting Ratings and Reviews

  2. #2
    Senior Member nullvariable's Avatar
    Join Date
    Sep 2005
    Posts
    206
    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

  3. #3
    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.
    Make A New Website - USWebCity.com
    Web Hosting Ratings and Reviews

  4. #4
    Senior Member nullvariable's Avatar
    Join Date
    Sep 2005
    Posts
    206
    glad I could help!

    NV

Similar Threads

  1. How can I block China?
    By MrLeN in forum Web Programming Discussion Forum
    Replies: 24
    Last Post: 08-27-2010, 12:33 PM
  2. How do I block IP or country to visit my site?
    By taimurahmed in forum Webmaster Resources Discussion Forum
    Replies: 4
    Last Post: 01-21-2009, 04:22 PM
  3. Block An IP
    By billc in forum IT Discussion Forum
    Replies: 8
    Last Post: 11-15-2007, 03:04 PM
  4. New kid on the block
    By liberty in forum Submit Your Site For Review
    Replies: 1
    Last Post: 11-12-2004, 01:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •