Same server, both SSL and non-SSL Same server, both SSL and non-SSL apache apache

Same server, both SSL and non-SSL


Yes, you simply add another VirtualHost for the same name on port 443 (HTTPS).Set SSLProtocol to whichever protocols you wish to allow.

<VirtualHost *:80>    ServerName your-domain.com    DocumentRoot /var/www/your-domain-root</VirtualHost><VirtualHost *:443>    DocumentRoot /var/www/your-domain-root    ServerName your-domain.com    SSLEngine On    SSLOptions +StrictRequire    SSLCertificateFile /path/to/server.crt    SSLCertificateKeyFile /path/to/server.key    SSLProtocol TLSv1</VirtualHost>