SSI (Server Side Include) on DSM's web station?

Questions about HTTP Access/Mods may go here
Forum rules
1) This is a user forum for Synology users to share experience/help out each other: if you need direct assistance from the Synology technical support team, please use the following form: ... p?lang=enu

2) To avoid putting users' DiskStation at risk, please don't paste links to any patches provided by our Support team as we will systematically remove them. Our Support team will provide the correct patch for your DiskStation model.
Posts: 14
Joined: Thu Aug 09, 2012 5:10 am

SSI (Server Side Include) on DSM's web station?

Unread post by Riz-man » Sun Dec 30, 2012 5:46 am

Hi there,

I've just enabled my web station on the DS212J and am trying to figure out how I can view websites that I've made using SSI (Server Side Include)?

The user guide on page 88 says that "the homepage for your website must be named index.htm, index.html or index.php" does that mean it is not possible to use index.shtml?

I've tried a Google search of this forum but can't seem to find any kind of response I can understand.

Thank you in advance for any help provided.

Posts: 12
Joined: Fri May 03, 2013 3:41 pm

Re: SSI (Server Side Include) on DSM's web station?

Unread post by zeefreak » Fri Jul 17, 2015 8:48 pm

it took me a stupidly long time to figure this out thanks to synology and all their nonstandard pathing.

what needs to be done is:

edit /etc/httpd/conf/httpd.conf-user

in that file, ensure 'LoadModule include_module modules/' is uncommented. [it should be by default]

<Directory "/var/services/web">
Options MultiViews FollowSymLinks ExecCGI Includes
AllowOverride All
Order allow,deny
Allow from all
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml


that's all that is strictly required, though i added:

<IfModule dir_module>
DirectoryIndex index.html index.htm index.cgi index.php index.php5 index.shtml

and then restart with '/usr/syno/sbin/synoservicecfg --restart httpd-user'

Posts: 42
Joined: Sun Nov 01, 2015 12:21 pm

Server Side Includes (SSI) - how to enable

Unread post by welshboff » Wed Oct 19, 2016 6:10 pm

I'm playing around with various web technologies and found an old thread on how to enable Server Side Includes ( but it doesn't see to work now as the location doesn't exist (conf under httpd).

Does anyone know how to enable SSI in the current version of DSM?

The old thread says to modify the following file:
edit /etc/httpd/conf/httpd.conf-user

But I can't see to find the httpd.conf-user file.

Any tips or help would be appreciated.

Post Reply

Return to “HTTP/Apache Mods”