in reply to index.cgi or index.html

It sounds to me like the apache configuration is not set. In the apache configuration file, you should have something like:
# DirectoryIndex: Name of the file or files to use as a pre-written HT +ML # directory index. Separate multiple entries with spaces. # <IfModule mod_dir.c> DirectoryIndex index.html index.htm index.cgi index.php </IfModule>

If the web sysadmin won't change it, then you MAY be able to set the index.cgi on a "per directory basis" with an .htaccess file. I have never tried it, Sample .htaccess file:

<Directory "local directory"> DirectoryIndex index.cgi </Directory>

I'm not really a human, but I play one on earth. flash japh

Replies are listed 'Best First'.
Re^2: index.cgi or index.html
by fmerges (Chaplain) on Aug 27, 2005 at 14:02 UTC

    Hi,

    As far as I know, you can't have a <Directory> tag inside a .htaccess.

    In httpd.conf:

    <Directory path> DirectoryIndex index.cgi </Directory>

    In .htaccess:

    DirectoryIndex index.cgi

    Update: you can read more here.

    Regards,

    |fire| at irc.freenode.net