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 09:40:45 GMT
> -----Original Message-----
> Then check that there isn't a more specific DirectoryIndex directive
> overriding it.
There wasn't one, but I appreciated the example as I learnt something.

> 
> In a case like this:
> 
>     <VirtualHost *>
>         DirectoryIndex a.html b.shtml
>         DocumentRoot /path/to/somewhere
>     </VirtualHost>
> 
>     <Directory /path/to/somewhere>
>         DirectoryIndex index.html
>     </Directory>
> 
> The last DirectoryIndex would apply to the doc root of the virtual host,
> because it is more specific.
As above that was new to me :)


> 
> I would suggest putting the GUI tool in the trash can, and edit the
> configuration by hand, and specify the directive in the doc root's
> <Directory> block instead, which is generally a better idea.
Yes I can see, the GUI really does have a mind of its own so consider it
scrapped.


> 
> Regards,
> Robert Andersson

Many thanks

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