Create a file .htaccess in folder

AuthName "Accès restreint"
AuthType Basic
AuthUserFile "/path/to/.htpasswd"
Require valid-user

Add/create a user

htpasswd -c /path/to/.htpasswd admin

Share on: TwitterFacebookEmail


Related Posts


Published

Category

Notes

Tags

Contact