[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] 404's
At 01:58 PM 7/4/2000 +0200, you wrote:
>Frank Cubillos schrieb:
>>
>> Hi y'all,
>> How can I customize the 404 pages? Is it possible, if so please (if you
>> don't mind) provide detailed info (still kind of new to the Raq3) on how.
Make an .htaccess file in the directory that you want to have a different
404 page for. The .htaccess file should look like this:
-------
# .htaccess
ErrorDocument 401 /errors/401.shtml
ErrorDocument 403 /errors/403.shtml
ErrorDocument 404 /errors/404.shtml
ErrorDocument 500 /errors/500.shtml
-------------------
As seen above, you can create a seperate page for each error that most likely
will occur. In my case I have a site with customized error pages, and the
full URL looks like: http://www.customer.com/errors/401.shtml
But in the .htaccess file, only put /errors/401.shtml, etc.
You can change the directory to where the files can be stored.
Hope this helps.
Sincerely,
Cody Watkins
Paradox Web Hosting
www.paradoxwebhosting.com