Forum Moderators: phranque

Message Too Old, No Replies

is .htm or .html always the default?

i have couple index page....

         

someone

11:47 pm on Nov 10, 2004 (gmt 0)

10+ Year Member



i have an index.php and an index.htm files in the same folder, is index.htm the default one in this case? thanks.

jatar_k

11:47 pm on Nov 10, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



it all depends on how the server is configured.

do you use apache?

someone

5:18 pm on Nov 12, 2004 (gmt 0)

10+ Year Member



yeah, i use apache.

Matt Probert

5:21 pm on Nov 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Often, usually, the http server looks for "index.html" as the default page, it may subsequently look for "index.htm" but it depends upon how the server has been configured. If you are on a shared hosting account (not a virtual server and not your own server) then ask the provider.

Matt

coopster

5:22 pm on Nov 12, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Check your DirectoryIndex [httpd.apache.org] configuration directive.

ControlEngineer

9:47 pm on Nov 13, 2004 (gmt 0)

10+ Year Member



The easy way to find out is to try it. Simply put up an index.html and an index.htm page, almost identical but with a minor difference and see which is the default.

I deal with many servers run by large organizations that allow parts of the organization to have a page (as in www.bigorganization.org/~localsection/ or www.PodunkStateU.edu/mathdept/) Every time I have tried the index.html page is the default, if that does not exist the index.htm page is the default.

Getting accurate answers from the I.S. dept. can be a hassle.