I wanted to know if there is a variable available on the apache template that would be different on http vs https because i have duplicate issues in the configuration (in FastCgiExternalServer) the only thing i can think that could differentiate is to add something like
${HTTP_PORT}
to the template , any other idea to acheive this as this variable seems to not exist.
yes but having ${ssl} cannot be used to change the way virtualmin create the vhost configuration has it use the very same template for both ssl and non ssl part of the apache virtualhost.
i mean i cannot put a conditional part for the ssl part of the vhost has $SSL is at 1 all the time not only when parsing the template for the SSL part of the vhost.