bonjour,
je souhaite interdire l'accès à un répertoire.
Pour cela j'ai fait ça :
j'ai fait attention à la casse, à la syntaxe, mon répertoire existe bien, dans cette même casse aussi mais ça ne fonctionne pas.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3 <Directory "mondossier"> Deny from all </Directory>
le serveur retourne une erreur.
où est-elle ?Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [no address given] 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.
Apache/2.2.3 (Debian) PHP/5.2.0-8+etch7 Server at www.monsite.com Port 80
il n'y a que 3 lignes, soit il manque une chose, soit il y en a une en trop.
j'ai regardé le log error d'apache et le acccess mais il n'y a pas l'erreur reportée.
quelqu'un peut m'aider ?
Partager