hello everyone .. i have a newbie question... of the following file extensions.. what is the hierarchy when the browser has a choice to load the following files.

index.html
index.htm
index.php

I thought it was .html but I am using phpprobid and decided to add a .html welcome page and the browser loads the .php file as the first choice...
your help in this issue is greatly appreciated...

James

    That all depends on you servers settings

      For example, the DirectoryIndex configuration in your Apache's httd.conf (or .htacces) file.

        Sorry about my vauge answer I was in a rush, you can modify your existing .htaccess file to include this line:

        DirectoryIndex index.php index.php3 index.phtml index.phps index.html index.htm
        

        you just put whatever order you want, funny as it sounds you can put a file name such as marco.polo and it will still show up as an index lol

          Write a Reply...