interfx

Member
Mar 29, 2004
11
0
151
I'm trying to set the default index.htm of my client website to always bring up index.htm first, then index.html secondly...

I went to the Index Manager in CPANEL, but do not see where to set this??? Any suggestiosn, hints out there?

Thanks -
InterFX
 

Nhojohl

Well-Known Member
Nov 28, 2006
101
0
166
You need to open your httpd.conf file and find:
Code:
<IfModule mod_dir.c>
Then you should see something like:
Code:
DirectoryIndex index.html index.wml index.cgi index.shtml index.jsp index.js index.jp index.php4 index.php3 index.php index.phtml index.htm default.htm
Just adjust the order in that to adjust what comes before what, when you're done adjusting it, save it, and restart apache.
 

interfx

Member
Mar 29, 2004
11
0
151
Sorry, forgot to mention that I am on a shared server, and do not have access to this file...

Any other ways to do this?
 

Nhojohl

Well-Known Member
Nov 28, 2006
101
0
166
Just don't use multiple index files...

One index.ext is all you need.