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

Re: [cobalt-users] .cgi as default page



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?

yes, and no, you can make .cgi (or whatever) one of the types of index
files searched for as a default page for a folder, and it is allowed to be
a cgi, so you can make the default homepage something like index.cgi, 
however, using cgi-bin as a location for it will probably make
things rather messy, as you will be coding a hard path into the index
filename and all of your home pages will probably try to use it...

alternatly, just use an index.shtml that does nothing but include a .cgi
(eg, server includes)

go to the apache site and search for directory ;)

gsh