[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: Kul <WebMaster@xxxxxxx>
- Date: Sun Mar 4 18:37:00 2001
- Organization: Qax
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
john wrote:
> The past owner of a domain I own had many subpages. As a result my stats
> are filling in with hits because the traffic is going to non-existant pages.
> How do I change my index.html (since I'm using frontpage I can't use .htm)
> 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've been searching the archives for "file not found" errors and similar but
> may be using the wrong terms.
>
> john@xxxxxxxxxxxxx
Hi John,
You could add/alter your .htaccess to include ErrorDocument 404 /index.html
But I dont know if this will interfere with FP, (dont use it)
Alternativly, you could add the same line, but in the VirtualHost tags in the httpd.conf file, or the srm.conf file for global changes - httpd.conf will probably be best !
--
Regards,
Kul