I have found the problem:
since before we were not using any https in the httpd.conf the VirtualHosts were set as NameVirtualHost *; <VirtualHost *> in the
httpd.conf.
This was "overwriting" everything that I was setting in the
ssl.conf file!
To have everything consistent and use VirtualHosts in both port 80 and port 443:
- in httpd.conf I have set
Code:
NameVirtualHost *:80
and define the Virtual Hosts as
Code:
<VirtualHost *:80>
...................
..................
</VirtualHost>
- in ssl.conf I have set
NameVirtualHost *:443
and define the Virtual Hosts as
Code:
<VirtualHost *:443>
...................
..................
</VirtualHost>