Home  >  Community  >  The Vendio Round Table  >  A little HTML help....


<< previous topic post new topic post reply next topic >>
 lifesablur
 
posted on August 26, 2001 10:03:19 AM new

I've looked everywhere on the web and have not been able to find an answer to my question.

Here's the story: I set up a new web site, with my own domain. Created a few directories. Example: www.mydomain.com/ebay

Okay, so I then create an index file, index.htm, so that when people click on the above URL, it will open up that index file. This is something I "figured out"... nobody told me that you had to make an index file.

Anyway, everything works fine, but the other day I look at my web stats to see that a whole lot of people were trying to access the INDEX.HTML file. See that "L" on the end?

So, I put two and two together and assume that some browsers default to look for INDEX.HTML rather than INDEX.HTM.

My question is.... am I correct? Do some browsers default a URL like www.mydomain.com/ebay to open up INDEX.HTM while other browsers default to INDEX.HTML?

And why?

I just don't want anyone to NOT reach my pages.

Does it matter if other pages on my web site have a .HTM extension and not a .HTML extension?

Thanks to anyone who has answers....


 
 rosiebud
 
posted on August 26, 2001 01:53:56 PM new
html is traditional and that is what a lot of servers default to. Best to check with whomever you're hosting with, to see what they have it set to. Typically, even if someone creates an shtml index page, they need to make a alternative html page for those that use the html extension.
[ edited by rosiebud on Aug 26, 2001 01:54 PM ]
 
 Borillar
 
posted on August 26, 2001 02:04:34 PM new
lifesablur: most web servers are set to look for the name of certain files as the start-up. INDEX.HTM or INDEX.HTML are most common, but many seervers give other options and it does not always have to be named INDEX.whatever. However, as a holdover from the days before graphics, as in World Wide Web, an index was usually created as a courtesy for the person checking out the contents for text files.

Now, if you go with some of these online services, they do restrict what the start-up file can be named. For instance, when I used to be with AOL, it converted my INDEX.HTM file to INDEX.HTML without asking me to do so. It may be different there now -- maybe not.

The other alternative is that you named the file INDEX.HTML and sent it up there. Maybe whatever uploading program that you used may have made the alteration for you. Check and see.

As far as the web browser goes, it has nothing to do with it.



 
 lifesablur
 
posted on August 26, 2001 03:34:23 PM new

Thanks for the answers... Things are a bit clearer.

However, the odd thing is, that in my stats where it shows which pages have been accessed, BOTH index.htm AND index.html show up on the list.

As far as I can see, only index.htm existed before yesterday when I made a copy and renamed it index.html (so now BOTH exist on my server).

How and why were people accessing index.html AND index.htm when only one of those existed?


 
 gravid
 
posted on August 26, 2001 08:19:39 PM new
When you renamed it the history went with the file under the new name. I bet if you creat a third copy under a third name it will show the same access.


[ edited by gravid on Aug 26, 2001 08:21 PM ]
 
 arttsupplies
 
posted on August 27, 2001 09:03:33 AM new
>...<
[ edited by arttsupplies on Sep 7, 2001 09:04 AM ]
 
 arttsupplies
 
posted on August 27, 2001 09:40:39 AM new
>...<
[ edited by arttsupplies on Sep 7, 2001 09:05 AM ]
 
 lifesablur
 
posted on August 27, 2001 05:44:49 PM new

I have index.html pages in all of my sub-directories, so I have URLs such as this:

www.mydomain.com
www.mydomain.com/ebay
www.mydomain.com/kingarthur

etc.....

The main reason I did this and did NOT do something like:

www.mydomain.com/ebay/entry.html

is because someone could type in:
www.mydomain.com/ebay/index.html

and see a list of all my files in that directory. So, I created the index.html file for two reasons: To prevent someone seeing all of my files AND to shorten the URL that I give out.

I now have all my index files with a .html extension and this seems to be working just fine. No need for the index.htm files now.



 
 arttsupplies
 
posted on August 28, 2001 08:46:19 AM new
>...<
[ edited by arttsupplies on Sep 7, 2001 09:04 AM ]
 
 
<< previous topic post new topic post reply next topic >>

Jump to

All content © 1998-2024  Vendio all rights reserved. Vendio Services, Inc.™, Simply Powerful eCommerce, Smart Services for Smart Sellers, Buy Anywhere. Sell Anywhere. Start Here.™ and The Complete Auction Management Solution™ are trademarks of Vendio. Auction slogans and artwork are copyrights © of their respective owners. Vendio accepts no liability for the views or information presented here.

The Vendio free online store builder is easy to use and includes a free shopping cart to help you can get started in minutes!