Erstens brauchst sowas in der httpd.conf
<Directory "/directory/to/protect">
Order deny,allow
allow from all
AllowOverride AuthConfig
</Directory>
Im directory dann so eine (oder aehnliche) .htaccess:
AuthUserFile /directory/to/protect/.htpasswd
#pfad zum .htpasswd file
AuthGroupFile /dev/null
# Gruppe is egal
AuthName StaffPages
# Anzeige im popup window
AuthType Basic
# Authentifizierungsart
#was darf der user (hier get/post)
<Limit GET POST>
require user musteruser
</Limit>
und dann noch ein .htpasswd anlegen:
/usr/bin/htpasswd -c -f /directory/to/protect/.htpasswd tonei
(das legt ein neues .htpasswd an, weitere user hinzufuegen ohne dem
-c switch, siehe 'man htpasswd')
... und solltest halt doch auch die forums suche verwenden
