PDA

View Full Version : .htaccess



txrandom
09-11-2004, 06:48 PM
How do I make a simple script that will block everyone out of a folder, except for localhost?

firepages
09-20-2004, 12:10 PM
in the folder you want 'protected'

Order deny,allow
Deny from all
Allow from localhost

if localhost does not work try 127.0.0.1 or 192.168.0.1 etc