ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Apache Web-Serving with Mac OS X, Part 4
Subject:   Can't get custom 404 messge to work
Date:   2003-07-30 08:43:19
From:   anonymous2
I uncommened the line # ErrorDocument 404/missing.html and restarted apache.
Now when I go to a document that should give me a 404, I get


"The requested URL /~username/dd was not found on this server.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


Apache/1.3.27 Server at keng4.local Port 80"


Where am I supposed to put the custom ErrorDocument? I't in the "Sites" folder of my local user.