服务器端包括(SSI)在使用https(ssl)时停止工作

服务器端包括(SSI)在使用https(ssl)时停止工作,ssl,https,Ssl,Https,我的服务器端包括在通过http访问网站时可以正常工作,但在尝试安全地访问网站时(这一切都设置得很好),它们不会被包括在内 我正在apache2/sites enabled目录中的一个文件中使用以下代码: <Directory /var/www/html> Options +Includes AddType text/html .htm AddOutputFilter INCLUDES .htm </Directory> 选项+包括

我的服务器端包括在通过http访问网站时可以正常工作,但在尝试安全地访问网站时(这一切都设置得很好),它们不会被包括在内

我正在apache2/sites enabled目录中的一个文件中使用以下代码:

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

选项+包括
AddType text/html.htm
AddOutputFilter包含.htm

你知道去哪里找吗?

知道了。我只将上述代码放在普通端口的virtualhost部分,而不是ssl端口