Forum Moderators: phranque

Message Too Old, No Replies

Can't view .html files

         

lingoist

10:03 am on Apr 25, 2004 (gmt 0)

10+ Year Member



I got apache2 installed on my windows machine (localhost) but it views all .html files and .htm as blank pages.
The source-output is the following:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1"></HEAD>
<BODY></BODY></HTML>

if i rename the .htm file to .php everthing looks as it should.

Thanks for your help

hakre

2:36 pm on Apr 25, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



hi lingoist,

welcome to webmasterworld. please check your apache 2 config and the release notes. keep in mind that apache 2 is not a stable product at all.

so have you checked with a previous version? is the mimetype and action set for .html files? are you using ie (based on the 'output' you posted), i gues the webserver does not return anything at all and your browser is creating that code.

--hakre

lingoist

4:20 pm on Apr 27, 2004 (gmt 0)

10+ Year Member



thanks for ur help...i gave up and installed 1.3.29...now everthins fine

cheers & have a nice day

py9jmas

4:35 pm on Apr 27, 2004 (gmt 0)

10+ Year Member



keep in mind that apache 2 is not a stable product at all.

I think Apache might disagree with you there.
From [httpd.apache.org...]

Apache 2.0.49 is the best available version

Apache 1.3.29 is also available

Version 1.3 is being maintained these days (as opposed to being developed).

Jon.