Submitted by RobDecker on Sun, 06/07/2009 - 06:55
I'd like to be able to add directives to the SSL VirtualHost or the non-SSL VirutalHost web template either by having a separate template for SSL or by having IF-ELSE-ENDIF for SSL.
Submitted by wesco on Fri, 12/07/2018 - 02:39 Permalink
It would be a very useful feature especially for accounts migrated from cpanel:
${IF-SSL}
IncludeOptional /etc/httpd/conf.d/userdata/ssl/${USER}/${DOM}/*.conf
${ELSE-SSL}
IncludeOptional /etc/httpd/conf.d/userdata/std/${USER}/${DOM}/*.conf
${ENDIF-SSL}.
I tried
${IF-WEB}
IncludeOptional /etc/httpd/conf.d/userdata/std/${USER}/${DOM}/*.conf
${ENDIF-WEB}
${IF-SSL}
IncludeOptional /etc/httpd/conf.d/userdata/ssl/${USER}/${DOM}/*.conf
${ENDIF-SSL}
but it also places the 'std' line in SSL vhost instead of 'ssl' one.