hi ,all .

in arch linux , apache's 'AuthType Basic' is easy .

i follow
http://www.atmarkit.co.jp/flinux/rensai/linuxtips/698apachebasic.html  as a
whole.
detail is a little different .  the following .

# ls -l /srv/http/
-rw-r--r-- 1 root root   28 12月 10 12:03 index.html
drwxr-xr-x 2 root root 4096 12月 10 13:09 member


# head /etc/httpd/conf/httpd.conf
<Directory "/srv/http/member">
    AuthType Basic
    AuthName "Secret Zone"
    AuthUserFile /etc/httpd/.htpasswd
    Require user secret
</Directory>


htpasswd  -c /etc/httpd/.htpasswd secret


but openbsd's apache is defferent .
this method is out .

there is little iformation on iternet about openbsd's 'AuthType Basic' .
what should i do ?
--------
the newest is not best . the best is best .

Reply via email to