Chemin htpassword ???

Résolu
alphonse -  
 alphonse -
Bonjour,

Sur mon site, je souhaiterais verrouiller l'accès à un fichier sur mon serveur mutualisé OVH.
Alors je crée mon .htaccess... Mais je pense que mon chemin au htpassword est mauvais...

.htaccess
<Files ~ "^\.(htaccess|htpasswd)$">
deny from all
</Files>
Options Indexes
AuthUserFile /homez.87/monsite/www/
AuthGroupFile /dev/null
AuthName "Please enter your ID and password"
AuthType Basic
require valid-user
order deny,allow


J'ai le message d'erreur :

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, ***@*** 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.

Sauriez vous quel est ce chemin ?

1 réponse

alphonse
 
La solution est qu'il fallait mettre .htpasswd à la fin de mon chemin...
0