Re: How to get multiple https for the same server

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

 



On Fri, 30 Apr 2010 09:38:58 -0400
Eric Covener <covener@xxxxxxxxx> wrote:

> On Fri, Apr 30, 2010 at 9:36 AM, J. Bakshi <joydeep@xxxxxxxxxxxxxxx>
> wrote:
> > Hello,
> >
> > Once I had the opportunity to use plesk control panel. And there I
> > could create https:// for each vhost. Now I like to create https://
> > for each vhost in a server manually. So I have followed the
> > traditional way to define https:// in vhost itself. But apache
> > reports it can't allocate port 443 for more than one host. And If I
> > still continue; it just redirects to that https:// which it finds
> > first. How can I create multiple https ( like plesk ) then ?
> 
> Try to describe this using verbatim configuration snippets and error
> messages.  Perhaps you added more than 1 Listen directive for the same
> IP address:port combination.
> 

Done some experiment and now it is working. Here is what I have done


Vhost1 configuration file
============================
# declare only once in this file
Listen 443

NameVirtualHost host1:443

<VirtualHost   host1:443>
SSLEngine on
[........]
other directive
[........]
</VirtualHost>


Vhost2 configuration file
============================
NameVirtualHost host2:443

<VirtualHost   host2:443>
SSLEngine on
[........]
other directive
[........]
</VirtualHost>

The things are working well but please suggest if any modification/correction is require.

Thanks

---------------------------------------------------------------------
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