Wildcard SSLs on Apache2

Simon Burr simes at bpfh.net
Fri Aug 10 17:48:31 BST 2007


On Fri, Aug 10, 2007 at 09:08:17AM -0700, Jonathan Lloyd wrote:
><VirtualHost _default_:443>

It would appear that you're trying to use Name based virtual hosting and SSL;
its not something which is going to work. AFAIR you'll need to explicitly say
something like:

  <VirtualHost foo.example.com:443>
     :
     :
  </VirtualHost>

  <VirtualHost bar.example.com:443>
     :
     :
  </VirtualHost>

Along with suitable statements to ensure that Apache actually binds to all of
the addresses on the host.

Naturally you can use IP addresses instead of names if you want to remove the
dependancy on name resolution being avaiable.

-- 
   Simon the stressed        http://www.bpfh.net/           simes at bpfh.net
                 Chocolate is *not* a substitute for sleep


More information about the london.pm mailing list