in reply to Getting Apache to execute a CGI for the index page

It's the 'DirectoryIndex' directive in your httpd.conf.

DirectoryIndex index.cgi

FYI: This can be set at the server level, virtual server level or directory level.

BTW not really a perl question is it?

grep
grep> chown linux:users /world

Replies are listed 'Best First'.
Re: Re: Getting Apache to execute a CGI for the index page
by LukeyBoy (Friar) on Feb 06, 2002 at 20:50 UTC
    Yeah, my bad. I guess it's more of an Apache question - though other Perl people might ask the same question in the future. Thanks guys, and sorry for not RTFM!

      HEY! I'm doing the same thing. I use a redirect as well and it works and I just thought "Eh, that works".

      Granted I don't think I can get my ISP to make this addition for me without charging me so I am still in the same boat there for now. But at least on my home Apache server I can make the change.

      BTW: Just a quick thought...if you need to change the home page with this new method, you will need to shutdown and restart the server. Leaving it as a redirect means only updating the redirect file call. Something to think about if your into remote administration.

      ======================
      Sean Shrum
      http://www.shrum.net
      sean@shrum.net
      sean_shrum@hotmail.com