Apache Server side include,SSL 配置
enable mod_include module
激活SSL模块
// An highlighted block
a2enmod include
开启SSL模块对html文件的支持
// An highlighted block
vim /var/www/html/wordpress_old/fps/.htaccess
写入以下命令
Options +Includes;
AddType text/html .html
AddOutputFilter INCLUDES .html
在apache配置文件中关闭对.htaccess的禁用
<Directory /var/www/html/wordpress_old/
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
重启apache
sudo service apache2 restart