View Single Post
Old 08-13-2004, 04:08 PM  
alexg
IL4L.com
 
Join Date: Aug 2003
Location: Israel - ICQ: 162136565
Posts: 11,287
Quote:
Originally posted by directfiesta
The most common scenario is where you want everyone except a few visitors to be able to get to your site. Your .htaccess file would start like this:



order allow,deny
allow from all
Then you follow that with lines to specify the addresses that you want to block:

deny from 192.168.128.14

deny from 192.168.128.

deny from somehost.example.com

deny from .example.com



Leaving to p/u gf ... but it is very easy. Use notepad to make the file called .htaccess ( note the . before the name ).
Put the file in the folder that you want to protect.

thanks for the help
would be better though if you could just copy a code from your site that does that and send me via icq: 162136565 if you can...
I don't know anything about htacces, so I better just get such code and copy it

someone must have it...
alexg is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote