View Single Post
Old 08-13-2004, 03:57 PM  
directfiesta
Too lazy to set a custom title
 
directfiesta's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Punta Cana, DR
Posts: 29,909
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.

__________________
I know that Asspimple is stoopid ... As he says, it is a FACT !

But I can't figure out how he can breathe or type , at the same time ....

Last edited by directfiesta; 08-13-2004 at 03:59 PM..
directfiesta is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote