TigerKR

Q: ssi Server 5.0.15

Server 5.0.15

OS X 10.11.2 El Capitan

 

I am unable to get ssi to work on one of my virtual hosts. Has anyone successfully been able to get this to work? If so, could you please post your sanitized virtual hosts file from

/Library/Server/Web/Config/apache2/sites/0000_127.0.0.1_34580_www.example.com.co nf

 

here's mine:

 

<VirtualHost 127.0.0.1:34580>

  ServerName http://www.example.com:80

  ServerAdmin admin@example.com

  DocumentRoot "/Library/Server/Web/Data/Sites/example.com"

  DirectoryIndex index.html index.shtml

  CustomLog /var/log/apache2/access_log combinedvhost

  ErrorLog /var/log/apache2/error_log

  <IfModule mod_ssl.c>

  SSLEngine Off

  SSLCipherSuite "ALL:!aNULL:!ADH:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM"

  SSLProtocol -ALL +TLSv1

  SSLProxyEngine On

  SSLProxyProtocol -ALL +TLSv1

  </IfModule>

  <Directory "/Library/Server/Web/Data/Sites/example.com">

  Options All -Indexes -ExecCGI +Includes +MultiViews

  AllowOverride None

  <IfModule mod_dav.c>

  DAV Off

  </IfModule>

  <IfDefine !WEBSERVICE_ON>

  Require all denied

  ErrorDocument 403 /customerror/websitesoff403.html

  </IfDefine>

  </Directory>

  ServerAlias example1.com example2.com example3.com

</VirtualHost>

I tried adding:

 

<IfModule mod_include.c>

  AddType text/html .shtml

  AddOutputFilter INCLUDES .shtml

  </IfModule>

But that didn't help.

 

Thank you.

OS X El Capitan (10.11.2), Server 5.0.15

Posted on Jan 17, 2016 12:42 PM