Go to /etc/httpd/conf
and edit the file srm.conf and add the line:
AddType text/html htm

I tested it for you and it works: (from my srm.conf after editing):
# AddType allows you to tweak mime.types without actually editing it, or to
# make certain files to be certain types.
# Format: AddType type/subtype ext1
AddType text/html htm



Canary, Robert W. wrote:
> 
> Hi,
> 
> I know this question isn't completely RHL related but I hoping someone
> could point me in the general direction (as in what page). . . . . . . .
>  .
> 
> I have a number documents written in HTML.  However, when Apache sends the
> documents out the some get interpreted as text even though the content type
> says text/html.
> 
> If I change the extension to html then it passes it okay.
> 
> How do I tell Apache to read/send these documents as HTML code.
> 
> thanks in advance
> --
> robert
> 
> --
>   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.




-- 
  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.

Reply via email to