I have some common configuration for both port 443 and port 80. But I want for port 443 some specific configuration (like turning
SSLEngine On). How can I get this working?
migrated from stackoverflow.com Jul 13 '11 at 12:53
This question came from our site for professional and enthusiast programmers.
As Kerrek already mentioned, you can easily setup two VirtualHost directives for each, then put an Include directive in each pointing to a file with the common elements.
If the server is only hosting a single site, you can put the common elements in the global configuration and setup a virtual host for the https site with the additional directives for it.
|show 1 more comment|