Startssl simply passes the SSL flag which make
<Ifdefine SSL> return true. If you look at your httpd.conf, there should be lots of directives surrounded by the <Ifdefine SSL> that are turned on/off depending on how apachectl argment was start or startssl.
The typical way to have both is to use virtual hosting (it has to be an IP based virtual host, not named based) and define one virtual host listening on port 80, and the other on port 443.
I usually change the overall Listen directive first,
so
Listen a.b.c.d:80
Listen a.b.c.d:443
Then as virtual host:
<VirtualHost a.b.c.d:80>
directives for the http version
</VirtualHost>
<VirtualHost a.b.c.d:443>
directives for the https version including
SslEngine on
and other SSL cert stuff, like your Certificate file.
</VirtualHost>
You will need to startssl in order to load the ssl modules, but it now should support both http and https.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.