Plesk

How to enable Server Side Includes (SSI) support in Plesk?

Question

How to enable Server Side Includes (SSI) support in Plesk?

Answer

Click on a section to expand

Plesk for Windows

  1. Log into Plesk

  2. Go to Tools & Settings > Updates & Upgrades > Add/Remove Components > Plesk Hosting Features and install Server Side Includes.

2. Go to Plesk > Domains > example.com > Hosting Settings and tick SSI support checkbox in Web Scripting and Statistics section.

Plesk for Linux

  1. Log into Plesk
  2. Go to Domains > example.com > Hosting Settings and tick the SSI support checkbox > click OK:
  3. Go to Domains > example.com > Apache & nginx settings > Additional apache directives > add desired directives into the Additional directives for HTTP/Additional directives for HTTPS fields respectively. For example, to parse .shtml files:

    AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml

  4. Add to Domains > example.com > Apache & nginx settings > Additional nginx directives:

    ssi on;

  5. Click OK to apply changes
Exit mobile version