Probllème avec mon .htaccess
Fermé
LaDopeMC
Messages postés
1
Date d'inscription
mercredi 13 mars 2019
Statut
Membre
Dernière intervention
13 mars 2019
-
13 mars 2019 à 11:21
Utilisateur anonyme - 13 mars 2019 à 20:16
Utilisateur anonyme - 13 mars 2019 à 20:16
A voir également:
- Probllème avec mon .htaccess
- You don't have permission to access this resource.server unable to read htaccess file, denying access to be safe - Forum Hébergement
- Htaccess deny from all ✓ - Forum Référencement
- Htaccess autoriser l'accès à un dossier - Forum Programmation
- Forbidden You don't have permission to access this resource. - Forum Webmastering
- Ovh htaccess - Forum Access
1 réponse
Utilisateur anonyme
Modifié le 13 mars 2019 à 20:23
Modifié le 13 mars 2019 à 20:23
Bonsoir,
Peut être en mettant :
Avec un / devant le www.
Sinon faites un script php comme suit, nommé test.php :
Une fois appelé ce script affichera le chemin absolu à renseigner pour faire appel au .htpasswd.
Peut être en mettant :
AuthUserFile "/www/admin/.htpasswd"
Avec un / devant le www.
Sinon faites un script php comme suit, nommé test.php :
<?php
echo realpath("index.php");
Une fois appelé ce script affichera le chemin absolu à renseigner pour faire appel au .htpasswd.