[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apache-ssl and Virtual Hosts



On Thu, 11 Jul 2002 16:57:09 -0700, Expert User wrote:

>Here is what I want to do:
>
>mydomain.com and mail.mydomain.com have same IP address.
>
>When a user types mail.mydomain.com I want to go directly to
>/var/www/mail/index.php file. When the user types mydomain.com then the
>user sees /var/www/index.html.
>
>I have achieved this by using following:
>in /etc/apache/httpd.conf
>NameVirtualHost *
><VirtualHost *>
>ServerName mail.bapat.net
>DocumentRoot /var/www/mail
></VirtualHost>
>
>However I also want to automatically use SSL when the user points the
>browert to mail.bapat.net. 
>If I put the above lines in /etc/apache-ssl/httpd.conf apache-ssl
>doesn't start. gives error and stops.
>
>How do I achieve both these things?

>From http://httpd.apache.org/docs/vhosts/name-based.html

# Name-based virtual hosting cannot be used with SSL secure servers
because of the nature of the SSL protocol.
--
gt
It ain't so much what you don't know that gets you in trouble---
it's what you do know that ain't so.--unk


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: