Re: How To Make index.shtml As A Home Page?
From: Ronx (ronx917_at_hotmail.com)
Date: 07/13/04
- Next message: E. T. Culling: "Re: Photo Gallery doesn't display once published"
- Previous message: MD Websunlimited: "Re: Front Page Error"
- In reply to: Pastor Dan: "Re: How To Make index.shtml As A Home Page?"
- Next in thread: Ronx: "Re: How To Make index.shtml As A Home Page?"
- Reply: Ronx: "Re: How To Make index.shtml As A Home Page?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 13 Jul 2004 19:08:34 +0100
DirectoryIndex index.shtml index.html index.htm index.php
is the correct command, but will only be effective if AllowOverride All
is set in the <Directory "/var/www/html"> directives in the virtual server's
section of the httpd.conf file. (replace "/var/www/html" with the file path
to your root web, it will probably be different.)
The default page for the web is set in the httpd.conf file, but may be
overridden (provided AllowOverride is set) using .htaccess as you have done.
Note: This is about the limit of my knowledge of apache and Unix systems.
Ron
-- Reply only to group - emails will be deleted unread. "Pastor Dan" <PastorDan@discussions.microsoft.com> wrote in message news:7707E440-E7C3-4B06-8D7E-CE407E951DA5@microsoft.com... > Yes, I just said the renaming works "live." I have tried your suggestion, as below, by adding a line in the .htaccess file in my public_html folder where my web is located as follows: > > DirectoryIndex index.shtml index.html index.htm index.php > > When I published, welcome.htm was changed to index.html. I don't know that much about .htaccess files, maybe this was not the right command or maybe something else must be changed. If you can give me more precise information where or how the default page is set, other than this, I would be interested. I don't know why it didn't work. > > "Ronx" wrote: > > > Have you tried: > > On the server, make index.shtml the first item in the "acceptable home page > > name" list. > > On the server, ensure that welcome.html is _not_ on the "acceptable home > > page" list. > > In the local web, rename index.html to welcome.html > > > > welcome.html is acceptable to FrontPage as a home page, so navigation should > > be preserved, and publishing should change welcome.html to index.shtml > > > > Also, you should be able to open your online web in FrontPage and rename > > index.html to index.shtml - the online web is server based and will accept > > any names in its list. > > > > Ron > > -- > > Reply only to group - emails will be deleted unread. > > > > > > "Pastor Dan" <PastorDan@discussions.microsoft.com> wrote in message > > news:73E893D0-B1A7-4C28-B2CD-B41088EFE727@microsoft.com... > > > Here's my conclusion after this long thread. My basic problem was that my > > home page was connected to a thicket file. I renamed the home page with a > > save as command and then deleted the original home page and attached thicket > > file. I lost my navigation structure and reconstructed it manually. Once the > > thicket file was gone, I could change the home page on the remote web site > > from index.htm to index.shtml. As noted by others in this thread, you cannot > > have a home page in FP with a shtml extension on your local computer. I am > > always careful to rename index.shtml on the remote site back to index.htm > > before publishing or there are problems. The various comments in this thread > > that FP will automatically rename index.htm (or another file like > > wecome.htm) to the first file on the default index page list does not seem > > to work. This all seems rather tedious and I regard it as a major flaw (bug) > > in FP that it does not allow a shtml extension on a home page on a local > > web. > > > > > > Andrew Murray's suggestion below, does not work, see above. You get a new > > page named index.shtml, but it is not the home page and you cannot make it > > the home page and keep the shtml extension. > > > > > > "Andrew Murray" wrote: > > > > > > > just File > Save As and rename the file with .shtml. > > > > > > > > > > > > "Pastor Dan" <Pastor Dan@discussions.microsoft.com> wrote in message > > > > news:4F23BB5D-1C75-4993-8801-E1A5E881315D@microsoft.com... > > > > > I would like to use some ssi on my home page, currently named > > index.htm. My > > > > website is running FP2002 extensions. I cannot seem to find anyway to > > change > > > > index.htm to index.shtml and keep it as my home page. It seems as though > > FP 2003 > > > > insists on index.htm as the only valid name for a home page. I have > > resorted on > > > > renaming index.htm to index.shtml with a FTP client on the server, which > > > > amazingly works without breaking the navigation structure, and then > > naming it > > > > back to index.htm before publishing again. Does anyone know how to make > > > > index.shtml as a home page with FP 2003? > > > > > > > > > > > > > > > > > >
- Next message: E. T. Culling: "Re: Photo Gallery doesn't display once published"
- Previous message: MD Websunlimited: "Re: Front Page Error"
- In reply to: Pastor Dan: "Re: How To Make index.shtml As A Home Page?"
- Next in thread: Ronx: "Re: How To Make index.shtml As A Home Page?"
- Reply: Ronx: "Re: How To Make index.shtml As A Home Page?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|