fixing error with HTTPS telling there is virtualhost inside virtualhost. To be tested

This commit is contained in:
Benjamin Sonntag 2011-03-27 21:22:56 +00:00
parent b9de132a88
commit ea48ece55a
3 changed files with 14 additions and 8 deletions

View File

@ -1,7 +1,10 @@
<VirtualHost *:443>
SSLEngine on
SSLCertificateFile /etc/alternc/apache.pem
SSLCaCertificatePath /etc/ssl/certs
DocumentRoot /var/alternc/bureau
Include /etc/alternc/bureau.conf
Include /etc/alternc/bureau.conf
SSLEngine on
SSLCertificateFile /etc/alternc/apache.pem
SSLCaCertificatePath /etc/ssl/certs
</VirtualHost>

View File

@ -63,5 +63,9 @@ ScriptAlias /cgi-bin/ /var/alternc/cgi-bin/
Allow from all
</Directory>
Include /etc/alternc/bureau.conf
<VirtualHost *:80>
Include /etc/alternc/bureau.conf
</VirtualHost>
Include /var/alternc/apache-vhost/vhosts_all.conf

View File

@ -1,4 +1,4 @@
<VirtualHost *:80>
DocumentRoot /var/alternc/bureau/admin
ServerName %%fqdn%%
RewriteEngine on
@ -7,4 +7,3 @@
alias /sql /usr/share/phpmyadmin
alias /webmail /usr/share/squirrelmail
</VirtualHost>