View Full Version : .htaccess for dummies (me)

05-08-2003, 02:00 AM
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.
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

05-08-2003, 07:09 AM
Try it this way:
(yes, without the LIMIT GET part)
order allow,deny
deny from xxx.xxx.xxx.xxx
allow from all

Mzzl, Chris

05-08-2003, 07:26 AM
Thnx already tried that one.....it turned out to be an issue with my hosting company.......just fixed it about 2 ago.... Thanx anyway.:)