htaccess and error documents
I am trying to say my apache in a .htaccess file which document to open on a 404 error.
I put this in my htaccess:
ErrorDocument 404 /index.php
The Apache seems to read it, but he gives me an error:
The requested URL /dir/file was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
My Apache Version:
Apache/2.0.47 (Win32) PHP/4.3.1
Why don't he open the index.php and gives me this error?
Thx for any help.