put the listen directive in the apache2-ssl config

This commit is contained in:
Antoine Beaupré 2008-10-07 18:39:44 +00:00
parent b1a6bcf43e
commit 7e8e9b1d6c
2 changed files with 2 additions and 4 deletions

View File

@ -1,3 +1,5 @@
Listen 443
<VirtualHost *:443>
SSLEngine on
SSLCertificateFile /etc/alternc/apache.pem

View File

@ -211,10 +211,6 @@ if [ -x /usr/sbin/apache2 ]; then
s="apache2"
fi
if [ -e /etc/alternc/apache.pem ]; then
if ! grep '^Listen.*443$' /etc/apache2/ports.conf; then
echo "Listen 443" >> /etc/apache2/ports.conf
s="apache2"
fi
if [ ! -h /etc/apache2/mods-enabled/ssl.load ] ; then
a2enmod ssl
s="apache2"