Results 1 to 3 of 3

Thread: Desperately need help with .htaccess file

  1. #1
    Join Date
    Jan 2008

    Desperately need help with .htaccess file

    Ok guys I own the site www.top200.org. Currently there are multiple websites using bots to spam my lists with hits causing too much CPU time to be used and my provider shutting down my servers temporarily each time. I currently use Aardvark Top Sites script and I've heard of others having the same problem. A solution was posted to make a .htaccess file that prevents anyone, including bots from certain urls from accessing your site. So I created a .htaccess file and yet apparently the CPU time is still being overloaded because my lists are always down.

    Please read the following code and tell me if this is the correct format for a file named .htaccess to block referred visitors from these certain sites from visiting my site.

    Once again, the file is titled .htaccess and is located in every folder on my FTP:

    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$http(s)?://(www\.)?5sohbet\.net/.*$ [NC,OR]
    RewriteCond %{HTTP_REFERER} !^$http(s)?://(www\.)?89erotik\.com/.*$ [NC,OR]
    RewriteCond %{HTTP_REFERER} !^$http(s)?://(www\.)?aklimdasin\.net/.*$[NC,OR]
    RewriteRule .* - [F,L]

  2. #2
    Join Date
    May 2004
    If you find the IP address for each one, it's done this way:
    deny from
    That's the IP address for 5sohbet.net, since it's on a dedicated server.

    ""Men occasionally stumble over the truth, but most of them pick themselves up and hurry off as if nothing ever happened."" -- Sir Winston Churchill

  3. #3
    Join Date
    May 2005
    Gold Coast (MS)
    What you need is to use a robots.txt file located only in the root directory. Once you have a proper robots.txt file uploaded, you can have it checked here: Robots.txt Checker

    Also, if you have a Control Panel like CPanel or VDeck to use with your site, you need to check through and find the Domain Blocker utility or however it is named for your CP. Enter the IPs there. You can block entire sections of an IP range or just the one IP address.

    You will only be blocking the 'Bots that obey the "rules" as the bad 'Bots will plow on through your site. Then you may have to try different methods depending on function of 'Bots like cruising to the HoneyPot project for taking care of Spam 'Bots.

    Last edited by Major Payne; 01-19-2008 at 12:30 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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