J'essaye de mettre en place un fichier htaccess à la racine du site. Lorsque je lance l'index, je me retrouve avec une erreur de type 500 'Internal Server Error'
le fichier en question:
Code : Tout sélectionner
<Files ~ "^\.(htaccess|htpasswd)$">
deny from all
</Files>
Options -Indexes
ErrorDocument 403 http://localhost/.../403.php
ErrorDocument 404 http://localhost/.../404.php
DirectoryIndex index.php
order deny,allow
allow from http://localhost/.../index.php
allow from http://localhost/.../files/admin/adminIndex.php
allow from http://localhost/.../files/formateurs/formateursIndex.php
allow from http://localhost/.../files/comptabilite/comptaIndex.php
deny from all
deny from http://localhost/.../files/merci,