From 7e8e9b1d6cbd446bce4451d741a64aefabdeeea1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Tue, 7 Oct 2008 18:39:44 +0000 Subject: [PATCH] put the listen directive in the apache2-ssl config --- etc/alternc/apache2-ssl.conf | 2 ++ install/alternc.install | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/etc/alternc/apache2-ssl.conf b/etc/alternc/apache2-ssl.conf index ef9d9e04..9ddd3aa5 100644 --- a/etc/alternc/apache2-ssl.conf +++ b/etc/alternc/apache2-ssl.conf @@ -1,3 +1,5 @@ +Listen 443 + SSLEngine on SSLCertificateFile /etc/alternc/apache.pem diff --git a/install/alternc.install b/install/alternc.install index 7ff8cc52..4d9e7e0c 100644 --- a/install/alternc.install +++ b/install/alternc.install @@ -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"