Créer un htpasswd
Ligne de commande :
htpasswd -c .htpasswd username
dans le htaccess :
AuthType Basic AuthName "This Area is Password Protected"
AuthUserFile /full/path/to/.htpasswd
Require valid-user
Ligne de commande :
htpasswd -c .htpasswd username
dans le htaccess :
AuthType Basic AuthName "This Area is Password Protected"
AuthUserFile /full/path/to/.htpasswd
Require valid-user