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.
精彩评论