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

Re: [cobalt-developers] .htacces & FrontPage extensions



You can modify the default cobalt ones but this is not very easy.  Cobalt name the directory with a
. that most FTP programs do not seem to recognize.  Most of the time the file is hidden.  Further
more you must have root privileges to modify them.  I uploaded mine into a directory that I had FTP
access to and the copied them to the directory via telnet logged in as root.

I was however very happy to find out that after installing the OS 1 patch for RaQ 4r's that my
custom pages were erased and replaced with the default ones again.  Now I must go and redo it again.
Thanks Cobalt!!

I would assume you could also do this through apache's config, but I try to leave as much stuff
alone as possible.  This Cobalt OS/GUI is very sensitive.  Now that I have my self study
certification pack with a book called "The Nuts and Bolts Behind the Cobalt OS".  Although will most
likely just end up changing the default pages.

Anyway here is the path to the default error pages

/usr/admserv/html/.cobalt/error

Be careful, as this is were the graphics and HTML templates for the GUI are, do not get to crazy and
always backup what ever you modify.

If you want apache go to

/etc/httpd/conf/httpd.conf

And change the paths to your files and restart apache.  Once again use caution and backup.

Note: If you modify apache and want the same error pages to be displayed on the admin apache the you
will also need to modify

/etc/admserv/conf


Good luck,
William L. Thomson Jr.
CEO
Obsidian-Studios Inc.
439 Amber Way
Petaluma, Ca. 94952
Phone/fax 707.766.8989
http://www.obsidian-studios.com




----- Original Message -----
From: "Ervin Tarkhanian" <ervin@xxxxxxxxxx>
To: <cobalt-developers@xxxxxxxxxxxxxxx>
Sent: Thursday, January 25, 2001 6:16 PM
Subject: [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
>
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers
>