|
From: Jamie C. <jca...@we...> - 2014-12-02 01:34:28
|
On 01/Dec/2014 04:05 Csere M�ty�s <cs...@gm...> wrote .. > Hello, > > Is there a way to differentiate the apache template generation for SSL > and plain virtualhosts? > I would like to have different lines generated for the SSL and the plain > apache virtualhosts. > > I have tried using the $SSL variable, but that's value is based on the > virtual server feature, rather > than the virtual server being generated. (So if the feature is enabled, > then it is both "1" when the plain and when the SSL apache > virtualhost is generated) > > If this is not possible, i would be able to survive with a random enough > random int, to avoid collision. > (Would it be possible to give a variable a value (maybe in Global > Variables) from a perl/bash call to make random number? ) Right now, there is no way to do this - Virtualmin always copies all directives from the non-SSL virtualhost to the SSL version so that they remain in sync. What settings do you want to vary exactly? |