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) ?

Answer:

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

Reference: http://httpd.apache.org/docs/1.3/mod/mod_include.html

 Leave a Reply

(required)

(required)

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>