[ic] Multiple catalogs with single VirtualHost

Peter peter at pajamian.dhs.org
Mon Apr 14 23:55:05 UTC 2014


On 04/10/2014 04:09 AM, William Carr wrote:
> Is it possible to have multiple catalogs with a single apache virtual
> host like follows?
> 
> apache.conf
> 
> <VirtualHost *:443>
> 	ServerAlias site1.domain.com
> 	ServerAlias site2.domain.com
> </VirtualHost>
> 
> catalog.cfg
> 
> Catalog site1 /www/site1/ic  site1.domain.com
> Catalog site2 /www/site2/ic  site2.domain.com
> 
> I am trying to serve up multiple interchange catalogs with a single
> wildcard certificate for the domain *.bottlenose-wine.com.

You can also use separate virtualhost containers using name-based
virtual hosts with the same wildcard certificate in each.  It will work
in spite of what you read about not being able to use name based virtual
hosts with TLS.  What will happen is the cert will be pulled from the
first virtualhost container for that IP address and once TLS has been
negotiated the httpd session will start and the correct virtual host
container will be picked based on the "Host" header.


Peter



More information about the interchange-users mailing list