[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Defaulting all visitors sites to index.html instead of sub-pages or file not found - Cobalt or html issue?
- Subject: Re: [cobalt-users] Defaulting all visitors sites to index.html instead of sub-pages or file not found - Cobalt or html issue?
- From: elmer@xxxxxxxxxxxxxx
- Date: Fri Feb 23 23:23:13 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
On Fri, 23 Feb 2001, john wrote:
} on my Raq to force all requests for any page, one that exists or one that no
} longer exists, to the entry index.html? Any help would be appreciated.
I'm FrontPage's biggest fan and people have actually paid me
to teach them some of the FrontPage tricks I know and use on our
sites. So, with a heavy heart, I must publically admit that I seldom
use FrontPage Extensions, which I'm assuming you are using, and
adding a .htaccess file to a FrontPage enable web site may thus have
effects that I'm not aware of so I'm just going to provide a hint
and leave the details to someone better qualified than me to answer.
Whip up an .htaccess file that includes something like the
following line:
ErrorDocument 404 http://www.YourUrl.com/index.htm
By something like, I mean change the URL to the URL for the
site you want to do this on. The result will be that the index page
of the web site will be servered in the event a missing page is
called.
Be forwarned, I've never used an .htacess file on a site
upon which FrontPage Extensions are installed. I'd recomend either
searching the archives or waiting for someone who has to provide
more information before trying this - just in case there are issues
with .htaccess files and FrontPage Extensions that I am not aware
of.