2

Don't know if this question is appropriate here.

I created an Alias directed to the root folder of the website (right now running on localhost). In the root folder, I have a custom 404 page, and I've added a .htaccess file in that folder with the "ErrorDocument 404 /404.html" line, but it still doesn't work.

I'm pretty new to this stuff (web servers), so I must be missing something obvious. Any suggestions greatly appreciated.

ladaghini
  • 133
  • 5

1 Answers1

1

Never mind, just looked at the Apache Documentation, needed to add the ErrorDocument directive in the Alias.

ladaghini
  • 133
  • 5
  • Can you close the question then? – raphink Feb 03 '10 at 13:11
  • Wouldn't it be better to more fully document the problem and answer as opposed to closing the question? That way someone in the future might google "custom 404 page problem" and find the answer here. – thepocketwade Feb 03 '10 at 21:02