Help - Search - Members - Calendar
Full Version: simple .html file will not display in FireFox
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
ProGuildSocial.com
I created an web page with an .html extension. The current, simplified version of the web page is:

http://www.lovemusiclovedance.com/sacramen...es-parties.html

The page previously displayed fine in FireFox and IE. But one day I noticed that it would not display" I've tried to simplify the code, but I still an error message.

Oddly enough, Chrome displays the code, but does not render the file as a readable web page.
Here is the code:

<html>
<head>
<title>Sacramento, Singles Parties, Dating, and Singles Events</title>
</head>
<body>
For the latest info. about<br>
Sacramento singles parties<br>
and events, see:<br>
<br>
<href="http://www.ProGuildSocial.com">www.ProGuildSocial.com</a>
</body>
</html>

*** NOTE:
I do NOT want to rename the file with an .htm extension, because it already ranks well in Google with an .html extension.

Please help! Thanks.
Christian J
It seems the server is (mis)configured to send the Content-Type "text/x-server-parsed-html" (which is used internally for SSI?), not "text/html" as it should. Have you changed something recently, e.g. in a .htaccess file?
ProGuildSocial.com
QUOTE(Christian J @ Feb 25 2009, 05:15 PM) *

It seems the server is (mis)configured to send the Content-Type "text/x-server-parsed-html" (which is used internally for SSI?), not "text/html" as it should. Have you changed something recently, e.g. in a .htaccess file?


Thanks for the reply. I think my "friends" at Godaddy must have changed something because I haven't. I didn't originally change the file until I noticed that it was not showing up correctly.

I think I'll try posting the identical file on another server and see what happens. To me it's clear that there is nothing wrong with the code. Their typical response from Godaddy is that there's something wrong with my computer (maybe a virus) or that my code is bad and -- of course -- they can't help debug code.

Christian J
http://web-sniffer.net/?url=http%3A%2F%2Fw...e=GET&uak=0 and http://www.rexswain.com/cgi-bin/httpview.c...es-parties.html say it's "text/x-server-parsed-html", but both report "text/html" for http://www.lovemusiclovedance.com/, so maybe something's strange with the server's handling of "sacramento-singles-parties.html"?

http://www.iwebtool.com/http_headers?domai...es-parties.html indeed says it's "text/html", possibly because it's just checking http://www.lovemusiclovedance.com/ unsure.gif
ProGuildSocial.com
QUOTE(ProGuildSocial.com @ Feb 26 2009, 06:25 PM) *

QUOTE(Christian J @ Feb 25 2009, 05:15 PM) *

It seems the server is (mis)configured to send the Content-Type "text/x-server-parsed-html" (which is used internally for SSI?), not "text/html" as it should. Have you changed something recently, e.g. in a .htaccess file?


Thanks for the reply. I think my "friends" at Godaddy must have changed something because I haven't. I didn't originally change the file until I noticed that it was not showing up correctly.

I think I'll try posting the identical file on another server and see what happens. To me it's clear that there is nothing wrong with the code. Their typical response from Godaddy is that there's something wrong with my computer (maybe a virus) or that my code is bad and -- of course -- they can't help debug code.

ProGuildSocial.com
My .htaccess file has:
------------------------------ start of .htaccess file -----------------
AddType text/html .htm

AddType text/x-server-parsed-html .shtml .sht .html .htm
-------------------------- ---- end .htaccess file -----------------------
This was put there to make either .htm or .html files be parsed for server side include code.
For example, the current date always shows in the title of my home page.

All my .htm file works fine, but .html doesn't.


pandy
Remove the text/x-server-parsed-html line. List all the extensions in the first (correct) directive.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.