> Am 26.10.2018 um 08:48 schrieb Edwardo Garcia <[email protected]>: > > Hi, > We have only few domains to manage, usually either http or https, but we have > lately had requests for both (we know defeat purpose but customer knows what > they want and they no take monetary or personal informations on website) > > I know this works with duplication of virtualhosts, but should it also work > with > <VirtualHost 1.2.3.4:80 [2001:1:1:1::1]:80 1.2.3.4:443 [2001:1:1:1::1]:443> > ... > </VirtualHost> > To avoid duplicating? > nginx does not seem to have this limitation, so I'm surprised httpd2 does. > > If I omit ports, it will errors on http if ssl engine on. > > or have I overlooked option?
The usual approach is, I think, to put the generic config into its own file and include that in each vhost. It's not ideal. Cheers, Stefan
