Forum Moderators: phranque
What I need is the index.html file to open automatically.
I know I can add - DirectoryIndex index.html to the folder and I have done this with the root folder. However as there are 100's of folders and sub folders I don't realy want to go through and add this to each folder.
Is there a command or instruction which I can add to the root folder which will enable every folder on my site to have index.html as the default web page?
Thanks for any help.
Robin
DirectoryIndex index.html
AddType text/html .shtml
AddHandler server-parsed .html
AddHandler server-parsed .shtml
Options Indexes FollowSymLinks Includes
and should have been:-
AddType text/html .shtml
AddHandler server-parsed .html
AddHandler server-parsed .shtml
Options Indexes FollowSymLinks Includes
DirectoryIndex index.html
I needed the command for the index.html after the command telling the server to parse html pages, well that the only change I made.