mod_auth: add some details to docs

personal/stbuehler/wip
Stefan Bühler 14 years ago
parent b2f2863af4
commit d55aab7652

@ -27,10 +27,13 @@
* auth.htpasswd ["realm": realm, "file": path];
* - requires authentication using a plaintext file containing user:encrypted_password pairs seperated by newlines (\n)
* - passwords are encrypted using crypt(3), use the htpasswd binary from apache to manage the file
* + hashes starting with "$apr1$" are NOT supported (htpasswd -m)
* + hashes starting with "{SHA}" ARE supported (followed by sha1_base64(password), htpasswd -s)
* - only supports "basic" method
* auth.htdigest ["method": method, "realm": realm, "file": path];
* - requires authentication using a plaintext file containing user:realm:hashed_password tuples seperated by newlines (\n)
* - passwords are saved as (modified) md5 hashes
* - passwords are saved as (modified) md5 hashes:
* md5hex(username + ":" + realm + ":" + password)
*
* Example config:
* # /members/ is for known users only

Loading…
Cancel
Save