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
index.cgi

Mike Frazer



"Beeman" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> The config file currently doesn't have any occurance of DirectoryIndex,
can
> I just add it within the virtual host for the site that I want to modify.
it
> 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
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > 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.
Just
> > 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
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > I am using a Cobalt RAQ4 server and need to edit my config file to
allow
> > > index.php as the directory index. the config file appears non
standard,
> 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