Re: index.htm renamed to index.html

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Steve Easton (admin_at_95isalive.com)
Date: 02/09/04


Date: Sun, 8 Feb 2004 21:11:09 -0500

It can be either.
If the host allows server overrides to
be added to the .htaccess file in the
virtual *aka* domain directory, then each domain can specify
the default page file extension.
If not, regardless of what is entered in the .htaccess for
the domain, the "server" will ignore it and and use the default
established for the server.
I just went into one of my webs via CPanel to take a look,
and I can edit the .htaccess at will. The problem is that there's
more than one and if you change one you have to change them all.
imho it's not worth the effort.

Besides, I personally don't care if it has to be index.rumplestiltskin
If it works what difference does it make.

<g>

-- 
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer
"Thomas A. Rowe" <tarowe@mvps.org> wrote in message
news:uHMvT6q7DHA.2416@TK2MSFTNGP10.phx.gbl...
> Ok, so does Apache support unique default documents on a per web basis or
is
> it server wide?
>
> If it is server wide, then the user has to rename his home page that which
> is required by the web host, unless it can be set in the .htaccess file or
> whatever is use to configure a web site on Apache.
>
> -- 
>
> ==============================================
> Thomas A. Rowe (Microsoft MVP - FrontPage)
> WEBMASTER Resources(tm)
> http://www.ycoln-resources.com
> FrontPage Resources, WebCircle,
> MS KB Quick Links, etc.
> ==============================================
> To assist you in getting the best answers for FrontPage support see:
> http://www.net-sites.com/sitebuilder/newsgroups.asp
>
> "Steve Easton" <admin@95isalive.com> wrote in message
> news:OyA882q7DHA.2064@TK2MSFTNGP11.phx.gbl...
> > Hi Thomas,
> > the poster is running on Apache/UNIX
> >
> > -- 
> > Steve Easton
> > Microsoft MVP FrontPage
> > 95isalive
> > This site is best viewed............
> > .......................with a computer
> >
> > "Thomas A. Rowe" <tarowe@mvps.org> wrote in message
> > news:eOarUxq7DHA.804@tk2msftngp13.phx.gbl...
> > > As for changing the order of the names in the default document list
(at
> > > least under a Windows IIS on 2000 or 2003 server), the setting can be
> set
> > > uniquely for each web site hosted.
> > >
> > > -- 
> > >
> > > ==============================================
> > > Thomas A. Rowe (Microsoft MVP - FrontPage)
> > > WEBMASTER Resources(tm)
> > > http://www.ycoln-resources.com
> > > FrontPage Resources, WebCircle,
> > > MS KB Quick Links, etc.
> > > ==============================================
> > > To assist you in getting the best answers for FrontPage support see:
> > > http://www.net-sites.com/sitebuilder/newsgroups.asp
> > >
> > > "Orest Kinasevych" <6al9-jb8e@spamex.com> wrote in message
> > > news:8PAVb.1910$N76.3987@news1.mts.net...
> > > > Steve Easton wrote:
> > > > > The problem is the server.
> > > > > FP renames the file as per the server requirements.
> > > > > If you forced FP to leave the file name unchanged
> > > > > a visitor would receive a 404 error, as the server would not
> > > > > "see" the default file in the root directory.
> > > > >
> > > >
> > > > We're not any closer to a solution to our original correspondent's
> > > > problem.
> > > >
> > > > His insistence on keeping the file naming scheme that he has
> instituted
> > > > on his web site is perfectly understandable and reasonable.
> > > >
> > > > Whether or not his decision generates 404 errors is not the issue.
> > > > Besides missing the point, your insistence that a 404 error *would*
> > > > occur is wrong.  It *might* occur if "index.htm" isn't listed in the
> > > > Apache DirectoryIndex directive.  (See
> > > > http://httpd.apache.org/docs/mod/mod_dir.html#directoryindex for an
> > > > explanation.)
> > > >
> > > > However, by the information already conveyed in this thread, it
sounds
> > > > like "index.htm" might well be listed in the DirectoryIndex
directive.
> > > > In an earlier post, Thomas A. Rowe suggested that "index.htm" ought
to
> > > > be moved to the top of the default document list.  However, changing
> the
> > > > order of DirectoryIndex file names in an operational -- and very
> likely
> > > > shared -- web hosting environment can potentially break many, many
web
> > > > sites already on the server.
> > > >
> > > > The issue is that there is some mechanism, somewhere, that is
renaming
> > > > his files.  Whatever mechanism it is, it is making the blatantly
> > > > incorrect assumption that our correspondent would appreciate having
> his
> > > > files renamed.  This renaming feature is the root of the stated
> problem
> > > > and is the issue that one would hope that the MVP FrontPage
"experts"
> > > > would be informed enough to answer directly, if they can answer it
at
> > all.
> > > >
> > > >
> > > >
> > > >
> > > > -- 
> > > > Orest Kinasevych
> > > > --------------------------------
> > > > OKINA CONSULTING
> > > > "Technology Solutions for Publishing"
> > > >
> > > > http://www.okina.net
> > > > --------------------------------
> > > >
> > > >
> > > > For the benefit of all readers, please reply directly to the
> newsgroup.
> > > > We recommend http://www.spamex.com for disposable email addresses.
> > >
> > >
> >
> >
>
>


Relevant Pages

  • Re: FP 2002 Extensions: Permissions Administration / Send an Invi
    ... You may wish to post in the Unix server extensions newsgroup, ... Microsoft MVP - FrontPage ... |> I imported a htaccess file into my frontpage and then onto my site. ...
    (microsoft.public.frontpage.extensions.windowsnt)
  • Re: Frontpage 2003, htaccess, and redirects
    ... Also .htaccess file lives in more than one place on an Apache server. ... > I use Frontpage 2003 on my local computer, and on my server, I have> the FP extensions. ... Basically I added some stuff to> the htaccess file that FP originally set up. ...
    (microsoft.public.frontpage.client)
  • Re: Server Extensions Administrator
    ... To avoid the error in FrontPage, you must open the web in FrontPage, ... http://machine:8080 as the web address then the extensions are ... Try running server health, and see if that makes a difference. ... At this point I am at the limit of my knowledge of installing ...
    (microsoft.public.frontpage.extensions.windowsnt)
  • Re: Server Extensions Administrator
    ... This is still a disc based web even if it is used by the web server as ... You can build webs in FrontPage using either system, ... this web to a web server that has the FrontPage Server Extensions ... administration programs and the server extensions on the web ...
    (microsoft.public.frontpage.extensions.windowsnt)
  • Re: FP 2003 what features to use
    ... > - shared borders sounded like an interesting alternative to SSI but it ... > appears to be tied to FP server entensions. ... I've come across some cases where FrontPage falsely detects conflicts ... If you turn source control off and on, ...
    (microsoft.public.frontpage.client)