httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J. Bakshi" <joyd...@infoservices.in>
Subject Re: [users@httpd] How to get multiple https for the same server
Date Fri, 30 Apr 2010 14:42:11 GMT
On Fri, 30 Apr 2010 09:38:58 -0400
Eric Covener <covener@gmail.com> wrote:

> On Fri, Apr 30, 2010 at 9:36 AM, J. Bakshi <joydeep@infoservices.in>
> 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message