【发布时间】:2017-05-13 20:21:27
【问题描述】:
我正在尝试运行 bWAPP SSI 注入课程。但是,似乎 SSI 在我的计算机上不起作用。我在 Ubuntu 16.04 上使用 PHP 5.6.30 和 Apache 2.4.18。我已将以下内容添加到 /etc/apache2/apache2.conf 但无法正常工作
<Directory /var/www/html/bWAPP/>
Options +Includes
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
</Directory>
将以下内容添加到/var/www/html/bWAPP/.htaccess 也不起作用
Options +Includes
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
我已重新启动 Apache 服务器,但仍无法正常工作。 我需要做什么才能启用 SSI?
【问题讨论】:
标签: apache .htaccess ubuntu ssi