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

Re: [cobalt-users] changing the default web page for users



Richard Kurth <rkurth@xxxxxxxxxxxx> wrote:
> I would like to know how I can changing the default web page for users. I
> would like to my own page there to welcome my new customer with my logos
> and information.

The default files are located in /etc/skel/.  Backup the files there and then modify
them to suit your needs.

> Also add a cgi-bin directory and change the name of the
> directory from web to something else.

The RaQs can run CGIs out of any directory within /web.  You don't need one called
cgi-bin.  Renaming /web by default will probably be quite a task unless you're
planning on abandoning Cobalt's GUI since you'll have to modify Cobalt's internal
programs.  If you just want to rename the document root directory on a case by case
basis, edit the VirtualHost container for the site in question within httpd.conf to
change it from "DocumentRoot /home/sites/siteXY/web" to whatever you want.  Then
restart httpd by running /etc/rc.d/init.d/httpd.init restart on the RaQ2 or
/etc/rc.d/init.d/httpd restart on the RaQ3.  I do this all the time on the RaQs to
create a production site on port 80 and the development version on another port (need
to add a listen port# line to httpd.restart).

Steven Werby {steven-lists@xxxxxxxxxxxx}