create a apache2-specific SSL configuration file

This commit is contained in:
Antoine Beaupré 2008-10-07 18:34:02 +00:00
parent c39d6991bf
commit b1a6bcf43e
3 changed files with 8 additions and 1 deletions

1
.gitattributes vendored
View File

@ -277,6 +277,7 @@ debian/rules -text
debian/templates -text
etc/alternc/apache-ssl.conf -text
etc/alternc/apache.conf -text
etc/alternc/apache2-ssl.conf -text
etc/alternc/apache2.conf -text
etc/alternc/menulist.txt -text
etc/alternc/phpmyadmin.inc.php -text

View File

@ -0,0 +1,6 @@
<VirtualHost *:443>
SSLEngine on
SSLCertificateFile /etc/alternc/apache.pem
DocumentRoot /var/alternc/bureau
Include /etc/alternc/bureau.conf
</VirtualHost>

View File

@ -220,7 +220,7 @@ if [ -x /usr/sbin/apache2 ]; then
s="apache2"
fi
if [ ! -h /etc/apache2/conf.d/alternc-ssl.conf ] && [ -e /etc/apache2/conf.d/ ]; then
ln -sf /etc/alternc/apache-ssl.conf /etc/apache2/conf.d/alternc-ssl.conf
ln -sf /etc/alternc/apache2-ssl.conf /etc/apache2/conf.d/alternc-ssl.conf
s="apache2"
fi
else