开发者

Server-side includes (SSI) stop working when on https (ssl)

My server side includes work fine when accessing the website through http, but when trying to access the site securely (which is all set up sweet) they just don't get included.

I'm using the following code in the one file inside my apache2/sites-enabled directory:

<Directory /var/www/html>
      Options +Includes
      AddType text/html .htm
      AddOutputFilter INCLUDES .htm
</Directory>

Any ideas about where 开发者_如何转开发to look?


Got it. I had only put the above code into the virtualhost section for the ordinary port, not the ssl port.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜