Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 have enabled SSI using the following directives in .htaccess

AddHandler server-parsed .html
AddOutputFilter INCLUDES html

However when I add these, the trailing slash redirects stop working.

For eg. works fine

but doesn't work.

In chrome it gives a "Error 324 (net::ERR_EMPTY_RESPONSE)" error while in firefox it shows a blank page.

What additional configuration do I need for both mod_dir and mod_include to work properly?

share|improve this question

Got an answer on the dreamhost forums:

Try specifying the RemoveOutputFilter directive first? I'm thinking the problem might be output having gone through DEFLATE (gzip) already.

So added

RemoveOutputFilter html

before AddOutputFilter and that worked like a charm

share|improve this answer

Your Answer


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.