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

[cobalt-developers] .htacces & FrontPage extensions



Hi all,

I'm trying to have custom error pages displayed for 400, 401, 403, 404, 500
errors and I know one way of doing this is to put the following in a
.htaccess file in the root of the site:

ErrorDocument Error # /Error_file location

The problem is, I've got FrontPage extensions installed and anytime I modify
the .htaccess file (without modifying what is already in the file) I can no
longer access the site through FrontPage, and the default error documents
are displayed.

Here's the original content of the .htaccess file in the root:

#  -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deby from all
</Limit>
AuthName www.domain.com
AuthUserFile /home/sites/site/web/_vti_pvt/service.pwd
AuthGroupFile /home/sites/site/web/_vti_pvt_service.grp


All I do is just add the following:

ErrorDocument 400 /err/400.htm
ErrorDocument 401 /err/401.htm
ErrorDocument 403 /err/403.htm
ErrorDocument 404 /err/404.htm
ErrorDocument 500 /err/500.htm

I'm using pico to edit the file.  What am I doing wrong? Do I need to be
root user? Use a different editor?

Unfortunately, I cannot remove the FP extensions and most of my customers
use it.

Any help would be appreciated.

Ervin Tarkhanian
AVETAR Interactive
818.705.3415 Tel.
818.345.8368 Fax.
ervin@xxxxxxxxxx
www.avetar.com