apache ne trouve pas certains fichiers via rewrite
Salut,
j'ai un gros problème avec apache 2.2 sous Linux Gentoo
le mod_rewrite fonctionne (je peux renvoyer vers / sans difficultés)
le fichier index.php est accessible via l'url http://localhost/directory/index.php
le fichier index.php est accessible via l'url http://localhost/directory/ lorsque je n'active pas le rewrite sur le dossier (cf config pour zend)
mon .htaccess
Code:
1 2 3
|
RewriteEngine on
RewriteRule .* index.php |
et là, quand j'accède à http://localhost/directory/ je me prends une erreur 404 (not found)
Code:
1 2
|
The requested URL /data/www/directory/index.php was not found on this server. |
et à cette url, ça marche encore : http://localhost/directory/index.php
si quelqu'un voit ce qui cloche ;)