Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm new to this and have (for me, at least) a bit of a strange problem. I've set up SSI on my home apache2 server, adding some lines to /etc/apache2/apache2.conf (on Debian). The strange thing its working fine if I go to http://myip/index.html or http://myip/stuff.html, but when I go to just http://myip/ it doesn't include the text (the include command shows as a comment in the page source). I thought a request to http://myip/ just pulled the index.html file so am unsure what's going on... By the way, I have the same results using AddOutputFilterByType INCLUDES .html and XBitHack on.

Any help greatly appreciated


P.S. Just so you know what's happening, here's the site: which doesn't parse the includes, and which does.

share|improve this question
My guess: the first format becomes GET /, it does not contain .html ending, thus it's not parsed for SSI. – ott-- Feb 5 '13 at 14:05
That's what someone else has said also, any ideas how to get around it? – user2043088 Feb 5 '13 at 15:57
You could try with a rewrite rule in .htaccess rewrite ^/$ /index.html permanent;. – ott-- Feb 5 '13 at 16:14
hmmm, good thinking. i tried but no cigar. might just be something way over my head in the conf. I'll keep plugging away. Thanks for your suggestion (got me to learn about mod_rewrite :)) – user2043088 Feb 5 '13 at 23:31
have you set RewriteEngine on? too? – ott-- Feb 6 '13 at 9:30

Your Answer


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

Browse other questions tagged or ask your own question.