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 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Apr 2003
    Location
    Colorado
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    .htaccess for dummies (me)

    OK, I've been through the tutorirals and still can't seem to get it right. I need to block an IP address (I understand the fultlity of this), but have to try anyways.
    This is the code I get from my hosting company, but when I place it in my .htaccess file I end up blocking everyone.
    <Limit GET>
    order allow,deny
    allow from all
    deny from xxx.xxx.xxx.xxx.
    </Limit>
    I'm using ws-ftp to place this file on the server using the ASCII mode.
    It's probably simple, but I don't see it.
    Any help much appreciated.
    Leon Wine snob

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    the Netherlands
    Posts
    215
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Try it this way:
    (yes, without the LIMIT GET part)
    order allow,deny
    deny from xxx.xxx.xxx.xxx
    allow from all

    Mzzl, Chris
    My Website
    010100010011110101110100011011110111000001101000

  • #3
    New to the CF scene
    Join Date
    Apr 2003
    Location
    Colorado
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thnx already tried that one.....it turned out to be an issue with my hosting company.......just fixed it about 2 ago.... Thanx anyway.


  •  

    Posting Permissions

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