- From: Walter Ian Kaye <walter@natural-innovations.com>
- Date: Mon, 21 Oct 1996 18:16:49 -0700
- To: www-html@w3.org
At 3:12p -0500 10/21/96, Jason O'Brien wrote:
>Depends on the server -- the server can be set up to recognize any file
>as the main file -- safest bet is labeling it as "index.html" or
>"index.htm" -- this is pretty much standard --
>
> ----------
>From: www-html-request[SMTP:www-html-request@w3.org]
>Sent: Monday, October 21, 1996 2:37 PM
>To: www-html
>Subject: Question: implementing a HTML
>
> I'm using Netscape Navagator 2.1. I have coded some HTML files and
> tested their appearence by entering "c:\html\test.html" in Netscape.
>
>
> Question:
> What should the filename be to allow automatic execution when the
> internet address is entered...default.html?
>
>
> i.e. When I enter http://www.microsoft.com/, what is the filename
> being executed ?
As Jason said, it depends on the server. For Microsoft's server, it is
"default.htm"; usually it is "index.html" though. BTW, your web browser
will probably not know for local files (my Netscape just shows a directory
listing when I give it a path to a local folder).
You also should make a point to NEVER use "c:\" notation in a URL, even for
local use. It's a very bad habit. URLs use *forward* slashes only. If you
go to File->Open... in Navigator and select the file, Navigator's location
textbox at the top of the window should show you a proper URL for your local
file. Get in the habit of "file:///c/html/test.html" or whatever it happens
to be on your PC. Do NOT use backslashes in a URL.
__________________________________________________________________________
Walter Ian Kaye <boo@best.com> Programmer - Excel, AppleScript,
Mountain View, CA ProTERM, FoxPro, HTML
http://www.natural-innovations.com/ Musician - Guitarist, Songwriter
Received on Monday, 21 October 1996 21:45:10 UTC