[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] making .htm the default



> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Alexander
> Sent: Friday, October 13, 2000 7:28 PM
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: Re: [cobalt-users] making .htm the default
>
>
> At 07:54 PM 10/13/00 +0200, you wrote:
>
> >If you mean : 'how to make index.htm' the default, then you should
> >edit the file /etc/httpd/conf/srm.conf.
> >
> >Look for a line that starts with 'DirectoryIndex', and change the
> >order there.
> >
> >Note that this change will take effect on all your virtual sites.
>
> Thanks. But is there a way to make this adjustment for only a specific
> virtual domain, not on all domains?
> Let's say a user is using Golive as their authoring tool, and needs his
> home page to be index.html, and on another virtual domain, the user is
> using FP and needs index.htm to be his default, is there a way to specify
> it for this case??
>
> Thanks!

If you only have one .html or .htm it will default to whichever it finds.
The problem comes only when you have both an .htm and a .html in the root.

I can't think of a reason why you should need this.

The only time i have needed to index files is to keep FP2000 happy when all
the files are .shtml.

Regards,

Ian