On 01/19/2010 01:32 PM, Igor Cicimov wrote:
As far as i know apache doesnt support name virtual hosting up to 2.2.13
or 2.2.14 not exactly sure. And after that supports it but only with SII.

On Jan 19, 2010 6:41 PM, "Nilesh Govindarajan" <li...@itech7.com
<mailto:li...@itech7.com>> wrote:

On 01/19/2010 12:52 PM, Nasir Zia wrote:

    > > Hi, > > can anyone tell me can i run my two different SSL
    domains ex: abc.com <http://abc.com>

    <http://abc.com> and xyz.com <http://xyz.com> <http://xyz.com> on
    one IP address or i

    > need second IP address to the server. > > Also please brief on
    this as if i run 5 sites on one se...


Use NameVirtualHost <ip>:443

Then <VirtualHost <ip>:443> ServerName abc.com <http://abc.com> ...
</VirtualHost>
<VirtualHost <ip>:443> ServerName xyz.com <http://xyz.com> ...
</VirtualHost>

This should do the job for u

Also you don't need 5 IPs to run 5 sites. Use the same technique as I
said above. NameVirtualHost <ip>:80

--
Nilesh Govindarajan
Site & Server Adminstrator
www.itech7.com <http://www.itech7.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-unsubscr...@httpd.apache.org
<mailto:users-unsubscr...@httpd.apache.org>
"   from the digest: users-digest-unsubscr...@httpd.apache.org
<mailto:users-digest-unsubscr...@httpd.apache.org>
For additional commands, e-mail: users-h...@httpd.apache.org
<mailto:users-h...@httpd.apache.org>


Oops. My bad. SSL protocol doesn't give the Host: header. So apache can't decide which Vhost to serve (from apache docs :D).

PS: If you're new to mailing lists, then please don't top post. Its very irritating.

--
Nilesh Govindarajan
Site & Server Adminstrator
www.itech7.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-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to