Forum Moderators: phranque
I've just transferred few websites to new server. Now, when I go to [subdomain.example.com,...] I get "text/x-server-parsed-html" file download prompt.
I think there is some problem with Apache config file. Websites use non standard index files (not index.html). Each website has .htaccess in it's folder and .htaccess has these lines:
AddType text/x-server-parsed-html html htm
DirectoryIndex start-page.htm
I wonder how can I fix this bug?
AddType text/x-server-parsed-html .htm .html
AddHandler server-parsed .html .htm
But I still get file download prompt in Firefox and I see HTML source instead of "normal" webpage in Safari.
By the way, when I comment line:
AddType text/x-server-parsed-html .html
my website works, but SSI doesn't work.
How can I turn on SSI so websites work?