Forum Moderators: phranque

Message Too Old, No Replies

Apache HTML page problems

         

Skid

3:42 pm on Oct 2, 2005 (gmt 0)

5+ Year Member



I've recently completed a project using .html and .php pages. However for no reason at all .html pages will no only display the HTML source code and not the page itself, However if I rename the .html page to . php the html tags are processed and the page is displayed correctly!?!

Can anyone help me as I'm going mad trying to sort out this problem!

jdMorgan

4:39 pm on Oct 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Skid,

Welcome to WebmasterWorld!

It sounds like your server is returning an incorrect MIME-type for HTML files. The correct type is "text/html".

Use the Server Headers checker [webmasterworld.com] in the WebmasterWorld control panel to check this.

See Apache mod_mime [httpd.apache.org] for more information.

Jim