Bonjour, je suis chez ovh et je voudrais mettre un acces restreint sur un dossier
j'ai donc créer un fichier .htaccess et .htpasswd

voici le fichier .htaccess
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
AuthUserFile /home/notremar/www/perso/.htpasswd
AuthGroupFile /dev/null
AuthName "Accès Restreint Photo Privé"
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>

et le fichier .htpasswd
lorsque j'essai d'accéder à cette page l'erreur suivante apparait
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, postmaster@monsite and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Peut être que c'est un problème avec l'adresse de mon dossier comment je peut être sur de l'adresse

Merci bcp de votre aide