View Single Post
  #2 (permalink)  
Old 06-15-2007, 03:11 AM
CatiaL CatiaL is offline
Active Member
 
Posts: 38
Talking Solved

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>
Reply With Quote