Support / KnowledgeBase

 
Search the KnowledgeBase Search

SSI troubleshooting

  • Applies to: All (dv)

  • Difficulty: Medium

  • Time needed: 20 minutes

  • Tools needed: Plesk administrator access, plain text editor, FTP client

 
  • Applies to: All (dv)
    • Difficulty: Medium
    • Time Needed: 20
    • Tools Required: Plesk administrator access, plain text editor, FTP client

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

  1. 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.
  2. Make sure that the file has the proper extension (by default):
    .shtml
  3. Make sure that the file has the proper ownership. The owner should be domain_ftp_user and the group should be psacln.
  4. The apache configuration file httpd.conf should contains the lines:
    AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml
    
  5. 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
Fill out the form below if you would like to comment on this article.
 
 
 

(code is not case-sensitive)
 
Submit
 
 

Continue