开发者

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

开发者 https://www.devze.com 2023-01-28 07:00 出处:网络
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.

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

精彩评论

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