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" <lists@xxxxxxxxxx <mailto:lists@xxxxxxxxxx>> 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-unsubscribe@xxxxxxxxxxxxxxxx <mailto:users-unsubscribe@xxxxxxxxxxxxxxxx> " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx <mailto:users-digest-unsubscribe@xxxxxxxxxxxxxxxx> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx <mailto:users-help@xxxxxxxxxxxxxxxx>
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-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx