.htaccess

AuthType Basic
AuthName "Restricted Access"
AuthUserFile /path/to/passwords/.htpasswd

.htpasswd

# Plaintext password
user:plain_text_password
 
# SHA crypted password
user2:$1$u2Bd9Rhu$Ck82.V6A4eRKKEy6/wF4h.

SHA crypt tool - http://labs.lucien144.net/scripts/crypt.php?algo=crypt

 
http_auth.txt · Last modified: 2009/06/23 00:00 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki