A try to make my own errordocument on Localhost...
In my .htaccess:
ErrorDocument 404 /errors/404.php
In the errros directory: 404.php
The .htaccess in the root directory.
But if i tpye some invalid url, like: http://localhost/test/index.pXX, then i got an error:
Not Found
The requested URL /webtest/index.pXX was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
In the 404.php the first line:
What is the problem?
Thank you.