I don't remember if the DirectoryIndex directive is usable inside VHosts, it
might just be global.  But yes, to use it add the following line:

DirectoryIndex filename1 filename2 filename3

Add as many as you want, and use any names you want.  Recommended order
would be something along the lines of

DirectoryIndex index.htm index.html index.shtml index.php index.php3

Mike Frazer

"Beeman" <[EMAIL PROTECTED]> wrote in message
> The config file currently doesn't have any occurance of DirectoryIndex,
> I just add it within the virtual host for the site that I want to modify.
> currently will default to index.html or index.htm and then the directory
> listing if neither index is found. Is the DIrectoryIndex param similiar to
> IIS where you can enter multiple values, and it searches for the index in
> the order they are in the list??
> "Mike Frazer" <[EMAIL PROTECTED]> wrote in message
> > RaQ4 systems still use what is *basically* a standard config (the only
> real
> > difference is some really stupid Perl code for SSL that can screw the
> whole
> > system up).  I don't recall where in the Web-based admin area you change
> > these values, but the httpd.conf still has the DirectoryIndex line.
> > open it in a text editor and do a search for DirectoryIndex.
> >
> > NOTE: Remember that changing these files manually will void your Cobalt
> > warranty!
> >
> > Mike Frazer
> >
> >
> > "Beeman" <[EMAIL PROTECTED]> wrote in message
> > > I am using a Cobalt RAQ4 server and need to edit my config file to
> > > index.php as the directory index. the config file appears non
> ad
> > > it has the pearl for the web based server administration.. What and
> where
> > do
> > > I need to add the DirectoryIndex? also how do I disable the directory
> > > listing.
> > >
> > >
> >
> >

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to