Page 1 sur 1

htaccess et error 500

Posté : 30 mars 2010, 17:37
par albius
Bonjour,

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/
Pourquoi ? Qu'est ce qui ne va pas ?
merci,

Re: htaccess et error 500

Posté : 30 mars 2010, 17:41
par stealth35
il te dis quoi dans le log ?

Re: htaccess et error 500

Posté : 31 mars 2010, 09:16
par albius
Bonjour,
Voici ce qui est renvoyé:
[Wed Mar 31 09:55:17 2010] [alert] [client 127.0.0.1] C:/Program Files/wamp/www/officesCommandes/.htaccess: The specified IP address is invalid.
merci,