Re: IP-based SSL virtualhosts problem - with attachment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/8/07, bruno alves teixeira <l16331@xxxxxxxxxxxxxxxx> wrote:
Hi,

I've been all over the web and mailling list archives, so I know multiple
SSL hosts on one machine is a problem for name-based virtual hosts, but
shouldn't IP aliasing and IP-based virtual hosts solve this?

I seem to be doing everything correctly but the certificate of the top
virtual host is used for all hosts. The RedirectMatch for each IP is
correct, but the top certificate is always used. You can check out the
attached file, to verify the definition of the virtual hosts.

What am I doing wrong?

1. Don't attach your config using base64 encoding and an incorrect
mime type.  Just copy-past it into the message.

2. You are not use name-based virtual hosts, therefore you shouldn't
use the NameVirtualHost directive.  See:
http://httpd.apache.org/docs/2.2/vhosts/ip-based.html

3. What RedirectMatch are you talking about?  The only RedirectMatch
in your config is inside a <Directory> section, which is not correct.

4. Your example config uses the same SSLCertificateFile for both
vhosts, which is probably the main source of your problem.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux