I have a 404 page on a static site on my localhost(MAMP) setup. The file is called 404.html (at the root of the site) and in my .htacccess file (at the root of the site) I have placed the following line of code:
ErrorDocument 404 /404.html
However the 404.html page doesn't show when I type an incorrect URL. I've done a test to confirm the 404.html page does show though when doing mysite/404.html.
Does anyone know what the problem could be?
Thanks