fix_apache2.sh
· 148 B · Bash
原始檔案
cat <<EOF >> /etc/apache2/conf.d/x_disable_SSLv3.conf
<IfModule mod_ssl.c>
SSLProtocol all -SSLv2 -SSLv3
</IfModule>
EOF
/etc/init.d/apache2 restart
| 1 | cat <<EOF >> /etc/apache2/conf.d/x_disable_SSLv3.conf |
| 2 | <IfModule mod_ssl.c> |
| 3 | SSLProtocol all -SSLv2 -SSLv3 |
| 4 | </IfModule> |
| 5 | EOF |
| 6 | /etc/init.d/apache2 restart |