Results 1 to 6 of 6
Thread: order of index files
-
04-03-2006, 10:35 AM #1WHT Addict
- Join Date
- Mar 2006
- Posts
- 143
order of index files
if we type:
http://www.mydomain.com/mydirectory/
in UNIX server, index file will be loaded.
my Q is: what is type (file extension) order of index files loaded?
I guess, order is:
1)index.htm
2)index.html
3)index.php
4)index.asp
5)....
do you know right order?
please reply.Most websites contain errors except they are analyzed by a good program.
Hyper Care is the best software for the purpose, which can find missed links, TAG and script errors automatically and easily, you can edit all website errors online.
To download - this version checks html files only.
-
04-03-2006, 10:41 AM #2Retired Moderator
- Join Date
- Sep 2004
- Location
- Flint, Michigan
- Posts
- 5,766
Depends on how apache is setup, on my machines I use:
index.html index.htm index.shtml index.php index.php4 index.php3 index.phtml index.cgi
however you can change this with a .htaccess file.
In the .htaccess file place the following:
Code:DirectoryIndex index.html index.htm index.shtml index.php index.php4 index.php3 index.phtml index.cgi
█ Mike from Zoodia.com
█ Professional web design and development services.
█ In need of a fresh hosting design? See what premade designs we have in stock!
█ Web design tips, tricks, and more at MichaelPruitt.com
-
04-03-2006, 10:53 AM #3WHT Addict
- Join Date
- Mar 2006
- Posts
- 143
Hi,
thx.
is code inside .htaccess case-sensitive?
must it be "DirectoryIndex ...", I like all in lowercase if possible.Most websites contain errors except they are analyzed by a good program.
Hyper Care is the best software for the purpose, which can find missed links, TAG and script errors automatically and easily, you can edit all website errors online.
To download - this version checks html files only.
-
04-03-2006, 10:55 AM #4Retired Moderator
- Join Date
- Sep 2004
- Location
- Flint, Michigan
- Posts
- 5,766
Not sure if it is case sensitive or not off the top of my head, try it and find out
█ Mike from Zoodia.com
█ Professional web design and development services.
█ In need of a fresh hosting design? See what premade designs we have in stock!
█ Web design tips, tricks, and more at MichaelPruitt.com
-
04-06-2006, 09:38 AM #5Junior Guru Wannabe
- Join Date
- Feb 2006
- Posts
- 71
Originally Posted by justadollarhostin
-
04-06-2006, 01:19 PM #6Retired Moderator
- Join Date
- Sep 2004
- Location
- Flint, Michigan
- Posts
- 5,766
Originally Posted by compjab█ Mike from Zoodia.com
█ Professional web design and development services.
█ In need of a fresh hosting design? See what premade designs we have in stock!
█ Web design tips, tricks, and more at MichaelPruitt.com