[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] blankity blankin custon 404 pre directory < Please Revisit >



On Thu, 28 Dec 2000, hirsh -e-skwirtz so wrote:

} will some body please tell me how to return a custom err page in a specific
} dir?
} ErrorDocument 404 http://www.directblooms.com

Create a text file called .htaccess, just as you've been doing. But
this time provide a valid URL for the custom error pages. The URLs
listed above just redirect the surfer to the root directory for
directbloomms.com. ie

ErrorDocument 404 http://www.directblooms.com/stuff/404.html

	I'd suggest starting with just one simple .htaccess file in
which you do nothing more than the error document. Then save it and
do another to get your auth scheme working. Then when you have both
pieces working put try them together. If it works then you're done
and if it doesn't you'll at least know where to focus your
debugging efforts.

	Additionally, you can find some good solid help on this at:
http://www.apacheweek.com/ Just click on the "Apache hints and tips"
button.