Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Jan 152010

How to enable Server Side Includes (SSI) ?


Pick either one of the following method and add the following lines to Apache configuration (httpd.conf).

1. Enable SSI on files with extension .shtml

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

2. Enable SSI on files if they have the user-execute bit set

XBitHack on


 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>