Re: HTTPS configuration issue with multiple virtual host

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

 



Davide Bianchi wrote:
> J. Bakshi wrote:
>   
>> Hello Davide,
>>
>> I have no problem to use the same certificate because this is a test
>> server. I am really eager to know how to achieve this and I am using
>> name based vhost here.
>>
>> Please enlighten me.
>>     
>
> The same way you do with non-SSL VHosts, only, you have to add SSL
> specific directives:
>
> NameVirtualHost *:443
>
> <VirtualHost *:443>
> 	ServerName ...
> 	DocumentRoot ...
> 	..other directives as required
> 	...SSL-directives
> </VirtualHost>
>
> <VirtualHost *:443>
> 	...
> </VirtualHost>
>
> Usually, the default SSL configuration is already in one VirtualHost, so
> just look how that is done and copy it changing the 'ServerName' bit.
>
> Davide
>
>
>   

Thanks for your reply,

I tried it before, though I gave it a try once more as u shown but no
success yet. Here  I also need *Listen 443* directive in my  vhost
configuration file to start ssl. But as soon as I put the config for
another virtual host apache stops working.

I get an working solution from here

http://sweon.net/2008/01/hosting-multiple-ssl-vhosts-on-a-single-ipportcertificate-with-apache2

unfortunately some pages of one of my vhosts is not working any more
with this setup.




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux