|
|
|
|
|
|
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
![]() |
#19 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
To password protect a directory.
First go here and encrypt a userID/password. http://www.e2.u-net.com/htaccess/make.htm In a directory someplace on your server create a file named. Code:
.htpasswd Now in the directory that you want to protect create a file named Code:
.htaccess Code:
AuthUserFile /path/to/your/password/file/.htpasswd AuthGroupFile /dev/null AuthName "Whatever You Want The Password Dialog To Be Called" AuthType Basic <Limit GET POST> order allow,deny allow from all require valid-user </Limit> |
![]() |
![]() |
|
|