Forum Moderators: phranque

Message Too Old, No Replies

.htm don't recognized

Web server issue?

         

specter

9:45 pm on Feb 8, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi everyone,

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)

10+ Year Member



try to put this
AddType text/html html
in your .htaccess file

specter

10:03 pm on Feb 8, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



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)

10+ Year Member



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)

WebmasterWorld Senior Member 10+ Year Member



Ok. I'll try it.

Thank you very much!

Sincerely

milanmk

10:36 pm on Feb 8, 2006 (gmt 0)

10+ Year Member



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)

10+ Year Member



sorry :)

specter

10:54 pm on Feb 8, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It doesn't matter,guys, I understood.
In fact it works fine!

Thank you very much!

At your disposal for any help.

Sincerely