Linux vs Windows servers

I

Iconoclast

I built a 30 page web with FrontPage. It shows the homepage as default.htm.

Looks like most webhosts use linux/unix servers that use index.html for the
home page.

I tried to rename default to index on my computer but that demolished my
navigation links.

I am using FP extensions and most webhosts seem to use them too.

What is the best way of dealing with this problem?
 
J

Jack Brewster

Walter,

You didn't mention how the site is hosted on your computer. Are you using a
web server or disk-based web? If you are using a server, make sure your
site is configured to use index.html as a default document.

Did you rename the file from inside FrontPage, or outside of it via Windows
Explorer? If you do it inside FrontPage, the links should automatically
update. Then again, I don't really use the built-in navigation tools in FP,
so I could be mistaken.

Good luck!
 
T

Thomas A. Rowe

When you publish the site via FP's http mode to a server that has the FP
extensions, FP will automatically rename the home page to what is required
on the destination server and update any links.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
I

Iconoclast

Thank you, Jack

I am hosting my site on my computer with the IIS 5. How can I "configure" my
site to use index.html?

Thanks
 
J

Jack Brewster

Walter,

You can add it in the Documents tab under your site properties via the IIS
manager.
 
K

Kevin Spencer

The name of the default home page is irrelevant, except to the web server.
This is how it works:

A web server (regardless of the make) can configure a default home page file
name, or more than one. A default home page file name is used when a
request comes in for a URL without specifying a file, such as
http://www.takempis.com. The example URL is the top-level or root folder of
my web site. Since no page file name is specified, the web server looks for
a file that has the same name as at least one of the default home page file
names. If it finds one, it returns that page. If not, and it Directory
Browsing is permitted, it will return a page with a list of all files in
that folder, with a link on each file to open it. If Directory Browsing is
NOT allowed, it will return an error message.

Web servers today can be configured with any default home page file name
that is desired by the Administrator of the web server.

FrontPage can query the web server to find out what the default home page
file name(s) are, and when you publish, it will rename the home page on your
local machine to the name of the default home page on the remote server.
Changing the name of the page just confuses the issue, because now the page
doesn't have the name of the default home page on your local machine, and
FrontPage can't know that it is indeed the home page (it can only tell by
the file name).

Therefore, your best bet would be to let FrontPage do the thinking for you,
and name the home page to whatever it deems appropriate.

On the other hand, if you just WANT it to be something else, you would have
to contact the Administrator of your web site and have him/her change or add
the default home page file name you specify. However, be aware that the
effect of this would only make you feel better; other than that, it changes
nothing.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
S

Stefan B Rusynko

But if you are using the FP design time components associated w/ the Navigation View, FP will rename the home page file name on
publishing, but will not correct the broken nav view links (nav bars)
- so you need to have your local and remote home page file names identical

--




| The name of the default home page is irrelevant, except to the web server.
| This is how it works:
|
| A web server (regardless of the make) can configure a default home page file
| name, or more than one. A default home page file name is used when a
| request comes in for a URL without specifying a file, such as
| http://www.takempis.com. The example URL is the top-level or root folder of
| my web site. Since no page file name is specified, the web server looks for
| a file that has the same name as at least one of the default home page file
| names. If it finds one, it returns that page. If not, and it Directory
| Browsing is permitted, it will return a page with a list of all files in
| that folder, with a link on each file to open it. If Directory Browsing is
| NOT allowed, it will return an error message.
|
| Web servers today can be configured with any default home page file name
| that is desired by the Administrator of the web server.
|
| FrontPage can query the web server to find out what the default home page
| file name(s) are, and when you publish, it will rename the home page on your
| local machine to the name of the default home page on the remote server.
| Changing the name of the page just confuses the issue, because now the page
| doesn't have the name of the default home page on your local machine, and
| FrontPage can't know that it is indeed the home page (it can only tell by
| the file name).
|
| Therefore, your best bet would be to let FrontPage do the thinking for you,
| and name the home page to whatever it deems appropriate.
|
| On the other hand, if you just WANT it to be something else, you would have
| to contact the Administrator of your web site and have him/her change or add
| the default home page file name you specify. However, be aware that the
| effect of this would only make you feel better; other than that, it changes
| nothing.
|
| --
| HTH,
| Kevin Spencer
| .Net Developer
| Microsoft MVP
| Big things are made up
| of lots of little things.
|
|
|
| | > I built a 30 page web with FrontPage. It shows the homepage as
| default.htm.
| >
| > Looks like most webhosts use linux/unix servers that use index.html for
| the
| > home page.
| >
| > I tried to rename default to index on my computer but that demolished my
| > navigation links.
| >
| > I am using FP extensions and most webhosts seem to use them too.
| >
| > What is the best way of dealing with this problem?
| > --
| >
| > Walter
| > The Happy Iconoclast www.rationality.net
| > -
| >
| >
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top