Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2001 19:07:39 -0500
From:      "C J Michaels" <cjm2@earthling.net>
To:        "Lord Raiden" <raiden23@netzero.net>
Cc:        <freebsd-questions@freebsd.org>
Subject:   RE: Brainfart with Apache
Message-ID:  <DJEFKJJHCIONPELDCGACEEJACAAA.cjm2@earthling.net>
In-Reply-To: <20011203230321.GA618@boethius.telocity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
You don't have to limit it to one file either, because you may not have the
index.cgi in every sub folder.

You could do something like

DirectoryIndex index.cgi index.php index.htm index.html

So on so forth, in the order you want apache to search for them.

--Chris

-----Original Message-----
From: owner-freebsd-questions@FreeBSD.ORG
[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Anthony Kim
Sent: Monday, December 03, 2001 6:03 PM
To: Lord Raiden
Cc: freebsd-questions@FreeBSD.ORG
Subject: Re: Brainfart with Apache


On Mon, Dec 03, 2001, Lord Raiden wrote:

> What I'm actually looking at doing is having a cgi script
> loading for the main homepage so I can have an interactive
> homepage load when the user comes in and it can be customized,
> randomized, etc.  Sorry for the flash of ignorance on my part,
> but I'm having far too much fun trying to keep myself from
> going totally braindead today.  hehe.  Nobody's here but me
> today, so life's kinda interesting at the moment.  Thanks again
> guys.  You're a priceless help!

Check out:

DirectoryIndex index.cgi

AddHandler cgi-script .cgi

Options ExecCGI

For one way. If you mean what I think you mean :)

I think PHP would be good for you, rather.

--
"Le motd juste."

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DJEFKJJHCIONPELDCGACEEJACAAA.cjm2>