> I need to include a Location block for one subdomain, but not for
> another. I have separate VirtualHost blocks set up for port 80, but
> when I try to do the same for port 443, I get the following when
> restarting apache2:
>
> [warn] _default_ VirtualHost overlap on port 443, the first has precedence
>
> To create the second 443 VirtualHost I copied the Gentoo
> SSL_DEFAULT_VHOST config to another file and did a little editing.
> Should I be going about that a different way?
>
> Does anyone else find the Gentoo apache2 layout/config annoying?
>
> - Grant
Actually I find the layout clean and relaxing with just a hint of
cinnamon. :)
Ok, knowing that others like it I'm more comfortable trying to get
used to it. It's all the IfDefine stuff I don't like.
I suspect you're doing *:443 in more than one place. SSL can not use
named based vhosts. You need multiple IPs to do multiple ssl vhosts
correctly.
What would you do if you needed a certain <Location> block for one
domain but not for another, and you need both of the domains to
function under SSL? Is multiple IPs the only way?
- Grant
kashani
--
gentoo-user@gentoo.org mailing list