Un mic exemplu care te-ar putea ajuta:
pico /etc/httpd/conf/httpd.conf
<Directory "/home/httpd/html/private">
Options None
AllowOverride AuthConfig
AuthName "Restricted Stuff"
AuthType Basic
AuthDBUserFile /etc/httpd/.dbmpasswd
require valid-user
</Directory>
Ok, /home/httpd/html/private e directorul care vrei sa fie parolat :)
/etc/httpd/.dbmpasswd
asta e un fisier care-l faci cu dbmmanage
ex:
dbmmanage /etc/httpd/.dbmpasswd adduser test
dai httpd restart
lynx localhost/private
asta e ..
Cheers,
Ionut.
On Thu, 7 Sep 2000, Bebi Costescu wrote:
> am pus in httpd.conf
> AuthType Basic
> AuthName Admin
> .......
> require valid-user
>
> am creat AuthUserFile si dupa asta cind vreau sa accesez zice :
> Unexpected network read error;conections aborted. De ce ?
>
>
> ---
> Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
> unsubscribe from this list.
>
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
unsubscribe from this list.