Go to project page or browse CVS tree.
Module for Apache which provides plaintext authentication.
Version for Apache 1.3 and 2.0 is available.
mod_auth_plain implements authentication routines using plain text files for Apache's authentication protocol.
An example .htaccess file:
Deny from all AuthType basic AuthName "Plain htpasswd" AuthPlainUserFile .htpasswd Require valid-user Satisfy any
An example .htpasswd file:
user:password
Note that AuthPlainUserFile can be relative to the directory which contains .htaccess file.
mod_auth_curdir is a spinoff of mod_auth_plain project and allows to use AuthUserFile directive without full path info. Now it is officially released based on the newest Apache 1.3 mod_auth sources.
An example .htaccess file:
Deny from all AuthType basic AuthName "Crypted htpasswd" AuthUserFile .htpasswd Require valid-user Satisfy any
An example .htpasswd file:
user:Ysj05wnRZVpXU
Note that AuthUserFile can be relative to the directory which contains .htaccess file.
(c) 2002-2004 Piotr Roszatycki <dexter@debian.org>