A voir également:
- Htaccess : retour à la page initiale
- .Htaccess - Forum Référencement
- .Htaccess ✓ - Forum Référencement
- Htaccess - Forum Référencement
- Problème htaccess - Forum Webmastering
- You don't have permission to access this resource.server unable to read htaccess file, denying access to be safe - Forum Réseaux sociaux
1 réponse
essai un copier coller de ceci:
AuthPAM_Enabled off
AuthName "ESPACE STAGIAIRE"
AuthUserFile /home/sites/site126/web/espacestagiaire/.htpasswd
AuthGroupFile /dev/null
AuthType Basic
ErrorDocument 400 http://www.projet-online.com/erreur400.htm
ErrorDocument 401 http://www.projet-online.com/erreur401.htm
ErrorDocument 403 http://www.projet-online.com/erreur403.htm
ErrorDocument 404 http://www.projet-online.com/erreur404.htm
ErrorDocument 405 http://www.projet-online.com/erreur405.htm
ErrorDocument 407 http://www.projet-online.com/erreur407.htm
ErrorDocument 409 http://www.projet-online.com/erreur409.htm
ErrorDocument 500 http://www.projet-online.com/erreur500.htm
ErrorDocument 501 http://www.projet-online.com/erreur501.htm
ErrorDocument 502 http://www.projet-online.com/erreur502.htm
ErrorDocument 503 http://www.projet-online.com/erreur503.htm
ErrorDocument 505 http://www.projet-online.com/erreur505.htm
<LIMIT GET POST>
require valid-user
</LIMIT>
tu peut aussi si c pas deja fait changer dans ton fichier de configuration de apache httpd.conf mettre la valeur All a la ligne:
AllowOverride All
AuthPAM_Enabled off
AuthName "ESPACE STAGIAIRE"
AuthUserFile /home/sites/site126/web/espacestagiaire/.htpasswd
AuthGroupFile /dev/null
AuthType Basic
ErrorDocument 400 http://www.projet-online.com/erreur400.htm
ErrorDocument 401 http://www.projet-online.com/erreur401.htm
ErrorDocument 403 http://www.projet-online.com/erreur403.htm
ErrorDocument 404 http://www.projet-online.com/erreur404.htm
ErrorDocument 405 http://www.projet-online.com/erreur405.htm
ErrorDocument 407 http://www.projet-online.com/erreur407.htm
ErrorDocument 409 http://www.projet-online.com/erreur409.htm
ErrorDocument 500 http://www.projet-online.com/erreur500.htm
ErrorDocument 501 http://www.projet-online.com/erreur501.htm
ErrorDocument 502 http://www.projet-online.com/erreur502.htm
ErrorDocument 503 http://www.projet-online.com/erreur503.htm
ErrorDocument 505 http://www.projet-online.com/erreur505.htm
<LIMIT GET POST>
require valid-user
</LIMIT>
tu peut aussi si c pas deja fait changer dans ton fichier de configuration de apache httpd.conf mettre la valeur All a la ligne:
AllowOverride All