I use apache 2.4.10, and I can't use personal error pages.
I changed /etc/apache2/conf-available/localized-error-pages.conf
and added :
ErrorDocument 404 /404.html
and created the file /var/www/404.html
with the short string 404test
inside.
However, when I relaunch apache, I get
Not Found
The requested URL / was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
What's wrong?
Is there a way to get more detail on the error?
/var/www/
is your document root? Because that's where it'll look for the document