Most Popular
Recently Added
Recently Updated

Server Side Include and .htaccess file

If SSI's (server side includes) are not parsing properly try adding these lines of text within your .htaccess file:

If your filenames end in .shtml:
AddType text/html .shtml
AddHandler server-parsed .shtml
Options Indexes FollowSymLinks Includes

If your filenames end in simply .htm or .html:
AddHandler server-parsed .html
AddHandler server-parsed .htm

The older examples below, previously used to parse SSI, may not work with the latest version of Apache web server.

Remove these lines if they exist within your .htaccess file:
AddHandler text/x-server-parsed-html html
AddType text/x-server-parsed-html .html

Where is my .htaccess file?
Your .htaccess file is a text file found within your public_html directory.

Properties ID: 000128   Views: 3145   Updated: 9 years ago
Filed under: