Hi,

> 
> How can I use virtual hosts on the SSL port in apache?
> 

here is a snipplet from my httpd.conf that works for me.

Regards, Thomas

#############################

Port 443
Listen 137.248.9.9:443
Port 80
Listen 137.248.9.9:80
     
NameVirtualHost 137.248.9.9:80

<VirtualHost stud-login2.uni-marburg.de:80>
SSLDisable
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /var/www
ServerName stud-login2.uni-marburg.de
ErrorLog /var/log/apache-ssl/error.log
TransferLog /var/log/apache-ssl/access.log
</VirtualHost>

<VirtualHost stud-webmail.uni-marburg.de:80>
SSLDisable
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /usr/share/horde/imp
ServerName stud-webmail.uni-marburg.de
ErrorLog /var/log/apache-ssl/stud-webmail-error.log
TransferLog /var/log/apache-ssl/stud-webmail-access.log
RewriteEngine On
RewriteRule ^/index.php3 https://stud-webmail.uni-marburg.de/ [R]
</VirtualHost>

NameVirtualHost 137.248.9.9:443

<VirtualHost stud-webmail.uni-marburg.de:443>
SSLEnable
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /usr/share/horde/imp
ServerName stud-webmail.uni-marburg.de
ErrorLog /var/log/apache-ssl/stud-webmail-error.log
TransferLog /var/log/apache-ssl/stud-webmail-access.log
</VirtualHost>

Reply via email to