httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Smith" <Steve.Sm...@SilsLendir.com>
Subject RE: [users@httpd] Default home page other than index.html
Date Fri, 05 Dec 2003 08:29:08 GMT
> -----Original Message-----
> From: Robert Andersson [mailto:robert@profundis.nu]
> > If I've read the docs correctly I need to use DirectoryIndex to
> > define the order of files that will be searched for, to represent the
> > home page on a site. Hence if I had "DirectoryIndex a.html b.shtml"
> > it would execute a.html unless it wasn't found then it would
> try b.shtml.
> >
> > However I still find the site loads index.html so what am I missing?
>
> a) you shouldn't post HTML to the list ;)
Agreed sorry it was the last thing I needed to do but I pressed the send a
bit too early :)

> b) is the DirectoryIndex directive placed in the correct context, so it
>     applies to the directory in question?
It was placed in the <VirtualHost> context by the GUI configuration tool.

> c) make sure the filename placed before "index.html" in the list
Agreed it is.

> d) make sure you haven't misspelled the filename. It must match exactly;
>     "a.html" won't match "a.htm" for example.
Agreed it is spelt OK
>
> Regards,
> Robert Andersson
Thanks for responding so quickly Robert

Steve



---------------------------------------------------------------------
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


Mime
View raw message