[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] .cgi as default page
- Subject: Re: [cobalt-users] .cgi as default page
- From: shimi <shimi@xxxxxxxxxxxxxxxx>
- Date: Sat Jun 23 06:26:01 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
On Sat, 23 Jun 2001, Mel Wade wrote:
> I'm wanting to make a CGI script in the cgi-gin my home page without using a
> redirect. Is there a way to do this?
>
> Mel
You don't need cgi-bin, just put it in /web, and you need to tell the
webserver to accept that filename as the index.
As root, edit /etc/httpd/conf/srm.conf (pico -w /etc/httpd/conf/srm.conf)
(you need the -w in order for pico not to wrap the long DirectoryIndex
line while you add characters to it)
and add index.cgi (or whatever file you want) to the list of files in the
line begining with DirectoryIndex (something that looks like this:)
DirectoryIndex index.html index.htm index.shtml index.php index.php3 index.php4 home.html home.htm
You should make it something like this:
DirectoryIndex index.html index.htm index.shtml index.php index.php3 index.php4 home.html home.htm index.cgi
HTH,
- shimi.