Non mi funziona..
mi fa accedere senza chiedermi nulla.
non riesco a capire il perché
variato in: #/etc/apache2/sites-enabled/000-default
da:AllowOverride None
( impostazione di default)
a: AllowOverride All
premetto che ad ogni tentativo ho ristartato il server# /etc/init.d/apache2 restart
e che nel file:"/var/log/apache2/error.log" non mi da nessun errore.<br />#il file .htaccess<br />AuthUserFile /var/www/.htpasswd<br />AuthGroupFile /dev/null<br />AuthName "Authorization Required"<br />AuthType Basic<br /><br /><limit GET POST><br />require valid-user<br /></limit><br /><br /># il file .htpasswd<br />user:lapw<br />
LoveDeb



LoveDeb


Io proverei a rimuovere AuthGroupFile, ma mi sembra che il problema possa essere un altro... Come hai fatto a creare il file .htpasswd ?!
La password dovrebbe essere criptata (con md5 se non sbaglio).
#man htpasswdThere are only 10 types of people in the world: those who understand binary and those who don't.