SSI不在Ubuntu 16.04和Apache 2.4.18上工作
我正在尝试运行bWAPP SSI注射课程。然而,SSI似乎在我的电脑上不起作用。我在Ubuntu 16.04上使用PHP5.6.30和Apache 2.4.18。我已将以下内容添加到SSI不在Ubuntu 16.04和Apache 2.4.18上工作,apache,.htaccess,ubuntu,ssi,Apache,.htaccess,Ubuntu,Ssi,我正在尝试运行bWAPP SSI注射课程。然而,SSI似乎在我的电脑上不起作用。我在Ubuntu 16.04上使用PHP5.6.30和Apache 2.4.18。我已将以下内容添加到/etc/apache2/apache2.conf中,但不起作用 <Directory /var/www/html/bWAPP/> Options +Includes AddType text/html .shtml AddOutputFilter INCLUDES .shtml
/etc/apache2/apache2.conf
中,但不起作用
<Directory /var/www/html/bWAPP/>
Options +Includes
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
</Directory>
Options +Includes
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
我重新启动了Apache服务器,但仍然无法工作。
要启用SSI,我需要做些什么?要在Ubuntu/Apache Web服务器上启用ssl,您需要在命令行上执行以下步骤:
ServerName bwapp.youserver.com
ServerAlias www.bwapp.yourserver.com
ServerAdmin webmaster@yourserver.com
DocumentRoot /var/www/html/bwapp/
<Directory /var/www/html/bwapp>
Options FollowSymLinks
DirectoryIndex index.php
</Directory>
ServerName bwapp.youserver.com
ServerAlias www.bwapp.yourserver.com
服务器管理员webmaster@yourserver.com
DocumentRoot/var/www/html/bwapp/
选项如下符号链接
DirectoryIndex.php
之后,从命令行启用此虚拟主机
祝你好运。这是关于ssi,而不是ssl