Enabling Server Side Includes (SSI)


#1

Hi, can someone tell me how can I set up SSI includes on my dreamhost account. I have used SSI’s on IIS but for the life of me I can not find any option in the control panel to enable them. I thought they might be enabled by default and tried to test them but they are not working.
thanks in advance for all the help


#2

It’s automatically setup for .shtml files. You can add them to .html files by adding this to your .htaccess file:
AddHandler server-parsed .html

It’s recommended to use .shtml for SSI files to avoid unnecessary parsing by Apache on plain .html files.


yerba# rm -rf /etc
yerba#