Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Sep 2009
    Location
    uk
    Posts
    81
    Thanks
    4
    Thanked 3 Times in 3 Posts

    ip deny not working

    hi. i have a prob on a site i host . i have put deny from then the ip number in htaccess .but whoever it is or what ever it is . is still accessing the site .how can this be .

  • #2
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,642
    Thanks
    2
    Thanked 405 Times in 397 Posts
    Either
    1. You did it wrong
    2. They have a dynamic ip
    3. They have a proxy
    4. They are accessing it from a different location

    IP based blocking is not very reliable in general, simply because it's so easy for most people to get a new IP.

  • #3
    New Coder
    Join Date
    Sep 2009
    Location
    uk
    Posts
    81
    Thanks
    4
    Thanked 3 Times in 3 Posts
    done some searching and found some help against robots but i get an error on this line
    PHP Code:
    $msg "A bad robot hit $_SERVER['REQUEST_URI'] $datum \n"
    this is the error
    Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/public_html/bot-trap/index.php on line 29

  • #4
    New to the CF scene
    Join Date
    Jun 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Many apache servers differs from each other. You should check it first.


  •  

    Posting Permissions

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