You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Daniel Rousseau <da...@sbcglobal.net> on 2003/01/16 02:24:38 UTC
[users@httpd] page loading problems
How can I get my index.shtml file to display by simply typing members
instead of members/index.shtml?
I still want my index.html pages to display automatically in my other
directories too.
Is it possible to set up .shtml files to display in one directory
automatically, but .html files in another directory?
Thank You,
Daniel Rousseau
Re: [users@httpd] page loading problems
Posted by Kevin Smith <ke...@netsmith.ltd.uk>.
This should do it...
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml
</IfModule>
Regards,
Kevin
----- Original Message -----
From: Daniel Rousseau
To: users@httpd.apache.org
Sent: Thursday, January 16, 2003 1:24 AM
Subject: [users@httpd] page loading problems
How can I get my index.shtml file to display by simply typing members instead of members/index.shtml?
I still want my index.html pages to display automatically in my other directories too.
Is it possible to set up .shtml files to display in one directory automatically, but .html files in another directory?
Thank You,
Daniel Rousseau
RE: [users@httpd] page loading problems
Posted by Daniel Rousseau <da...@sbcglobal.net>.
Thanks!!!
-----Original Message-----
From: Jurgen [mailto:apache@squarehosting.com]
Sent: Wednesday, January 15, 2003 7:44 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] page loading problems
Hi,
this is done with DirectoryIndex.
You can specify this for the whole server, each VirtualHost or per
directory.
If you use
DirectoryIndex index.html index.shtml
apache will look first for index.html and if this is not there it will
look for index.shtml.
Jurgen
On Wed, 15 Jan 2003 19:24:38 -0600
"Daniel Rousseau" <da...@sbcglobal.net> wrote:
> How can I get my index.shtml file to display by simply typing members
> instead of members/index.shtml?
>
> I still want my index.html pages to display automatically in my other
> directories too.
>
> Is it possible to set up .shtml files to display in one directory
> automatically, but .html files in another directory?
>
> Thank You,
> Daniel Rousseau
>
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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
Re: [users@httpd] page loading problems
Posted by Jurgen <ap...@squarehosting.com>.
Hi,
this is done with DirectoryIndex.
You can specify this for the whole server, each VirtualHost or per directory.
If you use
DirectoryIndex index.html index.shtml
apache will look first for index.html and if this is not there it will look for index.shtml.
Jurgen
On Wed, 15 Jan 2003 19:24:38 -0600
"Daniel Rousseau" <da...@sbcglobal.net> wrote:
> How can I get my index.shtml file to display by simply typing members
> instead of members/index.shtml?
>
> I still want my index.html pages to display automatically in my other
> directories too.
>
> Is it possible to set up .shtml files to display in one directory
> automatically, but .html files in another directory?
>
> Thank You,
> Daniel Rousseau
>
---------------------------------------------------------------------
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