If I install a SSL certificate for a cpanel hosted domain, the VirtualHost 443 entry is generated into /usr/local/apache/conf/httpd.conf and it says to customise this virtualhost use include file instead as SSL is automatically generated.
But how do I customise this in include file if I want to disable/remove only Apache from serving the site via 443 but not uninstall the SSL certificate and let LiteSpeed web server take priority of HTTPS/SSL and serve the site's 443 via LiteSpeed's native vhost config console ? The usual distiller method doesn't work as Cpanel Apache auto generates the SSL VirtualHost anyway regardless of the commands ?
# SSL # DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES. # To customize this VirtualHost use an include file at the following location # Include "/usr/local/apache/conf/userdata/ssl/2_2/username/DOMAINNAME.COM/*.conf"
/usr/local/cpanel/bin/apache_conf_distiller --update /usr/local/cpanel/bin/build_apache_conf