Articles in this section

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

kb: bug Plesk for Windows Plesk for Linux ABT: Group A

Applicable to:

  • Plesk for Windows
  • Plesk for Linux

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.

ssi_component.png

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

ssi.png

Plesk for Linux
  1. Log into Plesk
  2. Go to Domains > example.com > Hosting Settings and tick the SSI support checkbox > click OK:
    1.JPG
  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:

    CONFIG_TEXT: AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml

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

    CONFIG_TEXT: ssi on;

    ssinginx.JPG

    There is bug PPP-45765. SSI is not enabled automatically for NGINX if proxy mode is disabled. So there is the step to add the directive to Nginx configuration manually.

  5. Click OK to apply changes
Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.