Problème htaccess
mlpo
-
mlpo -
mlpo -
Bonjour,
Voila j'ai un site chez OVH et j'ai un problème ! J'ai crée un nouveau répertoire dans mon site "secret" ensuite j'ai crée un fichier ".htaccess" que j'ai rédigée ainsi :
J'ai ensuite crée un répertoire "password" DANS le dossier "secret" dans lequel j'y ai mis ".FichierDeMotDePasse" que j'ai rédigée ainsin :
J'ai ensuite crée un fichier "essai.html" dans mon dossier secret ! Et quand je tape dans ma barre d'adresse www.monsite.com/secret/essai.html" il m'affiche une boite de dialogue Utilisateur et Mot de passe, je rempli bien ces champ et quand je clique sur Ok il m'affiche :
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, postmaster@www.eol-jeux.com 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.
Merci de m'aider !!
Voila j'ai un site chez OVH et j'ai un problème ! J'ai crée un nouveau répertoire dans mon site "secret" ensuite j'ai crée un fichier ".htaccess" que j'ai rédigée ainsi :
AuthUserFile /password/.FichierDeMotDePasse AuthGroupFile /dev/null AuthName "Accès protégé" AuthType Basic <LIMIT GET POST> Require valid-user </LIMIT>
J'ai ensuite crée un répertoire "password" DANS le dossier "secret" dans lequel j'y ai mis ".FichierDeMotDePasse" que j'ai rédigée ainsin :
login:mdp
J'ai ensuite crée un fichier "essai.html" dans mon dossier secret ! Et quand je tape dans ma barre d'adresse www.monsite.com/secret/essai.html" il m'affiche une boite de dialogue Utilisateur et Mot de passe, je rempli bien ces champ et quand je clique sur Ok il m'affiche :
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, postmaster@www.eol-jeux.com 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.
Merci de m'aider !!
A voir également:
- Problème htaccess
- Réécriture d'urls avec .htaccess - Forum Référencement
- Htaccess / htpasswd : comment se déconnecter ? - Forum Webmastering
- Redirection .htaccess invisible... je n'y arrive pas ✓ - Forum Référencement
- You don't have permission to access this resource.server unable to read htaccess file, denying access to be safe - Forum Webmastering
- [.Htaccess] Redirection vers une autre adresse ✓ - Forum Webmastering