[Htaccess] ErrorDocument qui ne fonctionne pas
Bonjour,
Je suis en train de m'initier à l'URL rewriting avec un .htaccess. Mais même le fichier le plus simple ne fonctionne pas. J'ai essayé un ErrorDocument 404, mais ça ne fonctionne pas.
Mon .htaccess contient :
Code:
ErrorDocument 404 /test.php
J'obtiens :
Code:
1 2 3 4 5
| Not Found
The requested URL /~jerome/mod/test2.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. |