I'm coming across a strange problem with my new host:it seems to recognize my web pages only if I rename them from a .htm to a .html extension. Is it a web server(Apache) issue? How could I fix this problem?
Thanks in advance
vevs
9:54 pm on Feb 8, 2006 (gmt 0)
try to put this AddType text/html html in your .htaccess file
specter
10:03 pm on Feb 8, 2006 (gmt 0)
Ops, I forgotten to tell that I'm not properly an Apache geek... Could you explain me in detail,please?
Thanks
vevs
10:14 pm on Feb 8, 2006 (gmt 0)
create a new file using text editor and name it .htaccess (it should start with dot) then add this line to it AddType text/html html
upload the file in your site root folder and see if the html pages work.
specter
10:34 pm on Feb 8, 2006 (gmt 0)
Ok. I'll try it.
Thank you very much!
Sincerely
milanmk
10:36 pm on Feb 8, 2006 (gmt 0)
try to put this AddType text/html html in your .htaccess file
According to specter's question it should be AddType text/html htm as he has to enable .htm extentions.
vevs
10:46 pm on Feb 8, 2006 (gmt 0)
sorry :)
specter
10:54 pm on Feb 8, 2006 (gmt 0)
It doesn't matter,guys, I understood. In fact it works fine!