You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Wick, Daniel" <DP...@Mail.Donaldson.com> on 2002/08/23 20:33:36 UTC

RE: ".SHMTL" problems

It's most likely the code that is getting included.  Netscape requires more
legal html than IE.

--Dan

-----Original Message-----
From: Michael Lewis [mailto:mlewis@xelent.net]
Sent: Friday, August 23, 2002 1:39 PM
To: users@httpd.apache.org
Subject: ".SHMTL" problems


I am having a problem with a site and I'm not sure if it's something not
enabled in Apache or Netscape. I renamed a couple of content pages to
".shtml" from ".html" to display some semi-dynamic content. All is fine with
IE display, however it displays as the raw html code on Netscape 6.2 (most
ugly).

My question is, am I missing a configuration setting in my setup file for
Apache (2.0.40), or is it something I need to be looking at in Netscape? I
have briefly looked at Netscape's options and help and nothing leapt out at
me so I was wondering if it was an Apache mis-configuration.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: ".SHMTL" problems

Posted by Michael Lewis <ml...@xelent.net>.
Joshua,

Thanks, that was the problem. I thought I had done it but that was on
another of our servers.

-Michael

----- Original Message -----
From: "Joshua Slive" <jo...@slive.ca>
To: <us...@httpd.apache.org>
Sent: Friday, August 23, 2002 2:46 PM
Subject: Re: ".SHMTL" problems


> Wick, Daniel wrote:
> > It's most likely the code that is getting included.  Netscape requires
more
> > legal html than IE.
>
> In particular, you need to add the following to httpd.conf:
>
> AddType text/html .shtml
>
> MSIE ignore the mime type in some cases and guesses from the file
> contents.  (Very bad behavior!)
>
> Joshua.
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: ".SHMTL" problems

Posted by Joshua Slive <jo...@slive.ca>.
Wick, Daniel wrote:
> It's most likely the code that is getting included.  Netscape requires more
> legal html than IE.

In particular, you need to add the following to httpd.conf:

AddType text/html .shtml

MSIE ignore the mime type in some cases and guesses from the file 
contents.  (Very bad behavior!)

Joshua.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org