You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Chris Meadors <cl...@hereintown.net> on 2003/02/13 01:32:17 UTC

Re: [users@httpd] Re: [apache] RE: [users@httpd] Point Apache to index.php...

Jason L Michael wrote:
> Boyle,
> 
> Can you specify multiple files with this directive, i.e.:
> 
>             DirectoryIndex index.html index.php index.html.var
> 
> Or is this an error?  If Apache looks in the htdocs folder and
> sees both a index.php and an index.html, how does it pick the
> right one?

It's correct.  Apache picks the left most one that occurs first in the 
directory.

-- 
Chris


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org