SSI troubleshooting
Overview
Server Side Includes (SSI) is a simple interpreted server-side scripting language used almost exclusively for the Internet. The most frequent use of SSI is to include the contents of one or more files into a web page on a web server.
READ ME FIRST
This article is provided as a courtesy. Installing, configuring, and troubleshooting third-party applications is outside the scope of support provided by (mt) Media Temple. Please take a moment to review the Statement of Support.
SSI doesn't seem to be working. How can I determine what the problem is?
Solution
- Make sure that SSI is enabled for the domain within the Plesk interface. This can be enabled/disabled within the domain's physical hosting screen.
-
Make sure that the file has the proper extension (by default):
.shtml - Make sure that the file has the proper ownership. The owner should be domain_ftp_user and the group should be psacln.
-
The apache configuration file httpd.conf should contains the lines:
AddType text/html .shtml AddOutputFilter INCLUDES .shtml -
Look in the domain's Apache error_log file at
/var/www/vhosts/mt-example.com/statistic/logs/for more information.
See also
User Comments
No visitor comments posted. Post a comment
Fields marked with an asterisk(*) are required. Comment on this article