On Mon, 9 Mar 1998, David Hughes wrote:
> Am running RedHat 5.0 and the Apache bundle that came off of the CD. Am
> running Netscape 4.04 on a Win95 workstation. The subnet is IP masq'd.
>
> I have an oddity which I would definitely like to solve if anyone can
> help. When I try and hit an html page on the server, if the page has a
> .html extension, the page displays fine. If the page has a .htm
> extension, it displays in ascii in Netscape.
>
> If I hit the same pages located on a server running 4.2 (also a
> registered www domain), both .htm and .html, both types display fine.
> What I have not tested is runnng a 4.2 install and using Netscape 4.04
> under Win95 and see how both .htm and .html types work.
>
> Anyone have an idea what is happening here? Have searched around for
> info on this abberation but cannot find a solution. Any advice would be
> appreciated.
You have to register .htm as text/html in your Apache's mime.types file.
Otherwise, it'll be sent with the default mime type, which is text/plain,
which will make netscape display it as plain text.
Zeev
--
-----------------------------------------------------
Zeev Suraski <[EMAIL PROTECTED]>
Web developer, System administrator
NetVision, Ltd. Tel: +972-4-8560600
Haifa 31915 Fax: +972-4-8550345
For a PGP public key, finger [EMAIL PROTECTED]
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.