I have many virtual hosts which support SSL and non-SSL. For each host, I have built two <VirtualHost> blocks in my httpd.conf file -- identical blocks except for the port number, and use/non-use of the SSL key.

Is there a way to combine all these, so that for each host, I can have one <VirtualHost> block which answers calls on ports 80 and 443, and turns on SSL as needed?

It would make my httpd.conf file a lot tidier and less error-prone.

Thank you in advance,

Bryan



Reply via email to