You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "J. Bakshi" <jo...@infoservices.in> on 2010/04/30 15:36:13 UTC
[users@httpd] How to get multiple https for the same server
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 ?
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
Re: [users@httpd] How to get multiple https for the same server
Posted by "J. Bakshi" <jo...@infoservices.in>.
On Fri, 30 Apr 2010 09:38:58 -0400
Eric Covener <co...@gmail.com> wrote:
> On Fri, Apr 30, 2010 at 9:36 AM, J. Bakshi <jo...@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
Re: [users@httpd] How to get multiple https for the same server
Posted by Eric Covener <co...@gmail.com>.
On Fri, Apr 30, 2010 at 9:36 AM, J. Bakshi <jo...@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.
--
Eric Covener
covener@gmail.com
---------------------------------------------------------------------
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