Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I wish to enable SSI's (server-side includes) on my HTML pages on GoDaddy.

I want lines like this to be processed properly:

<!--#include virtual="/include/header.html"-->

Is this possible and how can it be done?

share|improve this question
add comment

2 Answers 2

Not true. I've got this working on two different shared hosting accounts with GoDaddy using this .htaccess:

AddType text/html .shtml .shtm .htm .html 
AddHandler server-parsed .shtml .shtm .htm .html 

However, from searching around, it looks like they claim you no longer need to edit your .htaccess.

share|improve this answer
    
"No longer true" might be a nicer approach when responding to a two year old answer. –  ceejayoz Mar 15 '13 at 20:04
add comment

Spoke with GoDaddy support.

They do support SSI, but only with '.shtml' files.

No configuration is necessary, simply make sure the files containing the SSI's have a '.shtml' extension.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.