| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| New Member Join Date: May 2004 Location: Sydney
Posts: 6
![]() | Simple but silly question - Paths/tags Relatively new to things at the moment but wanted to ask a question that probably the first person will answer. When uploading a website, what command/tag tells it to look for the index.htm page? Obviously i've designed the site with respect to how it interacts with the other pages but if you were to load up say www.website.com.au what in the coding would tell the server to look and display the index.htm file? Thanks
__________________ Design it and they will come :) |
| |
| | #5 (permalink) |
| NamePros Expert Join Date: Nov 2003 Location: Scotland
Posts: 5,069
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | most servers will already know to look for index.htm but if you are using apache as webserver you sould create a htaccess file and state it in there he following is an example of what you can put in the file:- DirectoryIndex index.html index.cgi index.pl default.htm if more than 1 match it will do the first 1 that is in that list. The file should be called .htaccess (nothing before the .)
__________________ Manage your portfolio using my new Domain Portfolio Management script. Securing Your Domain Name From Theft |
| |
| | #7 (permalink) |
| NamePros Expert Join Date: Nov 2003 Location: Scotland
Posts: 5,069
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | most people use index.htm as it is what most packages use etc and is what apache uses. I think default.htm is the IIS standard index page but its a long time since ive used IIS so I may be wrong
__________________ Manage your portfolio using my new Domain Portfolio Management script. Securing Your Domain Name From Theft |
| |