Date: Thu, 28 Jul 2005 12:44:18 +0200 (CEST) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-stable@FreeBSD.ORG Subject: Re: Apache2 just listening to https? Message-ID: <200507281044.j6SAiIIx044768@lurza.secnetix.de> In-Reply-To: <42E8BFBF.1010403@bmby.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Uzi Klein <uzi@bmby.com> wrote: > Eirik Øverby wrote: > > On Jul 28, 2005, at 10:01 AM, Roger Grosswiler wrote: > > > <VirtualHost *:80> > > > ServerName freebsd.domain.net > > > ServerAlias freebsd.domain.net > > > DocumentRoot /usr/local/www/data > > > </VirtualHost> > > > > Make sure you are not enabling SSL globally, but for each vhost > > individually. > > Actually, SSL can not be configured per name vhost. (or at least can not > work) > Because SSL handshake is used before http headers, it just can't be done. You can configure SSL perfectly fine per virtual host, provided that they have separate addresses. You can even use SSL for virtual hosts that share an address, if they listen on different ports (in this case you can use redirects for convenience, so users don't have to type the port numbers). It's correct that SSL doesn't work for pure name-based virtual hosts (not using "special tricks"), but nobody was talking about that. > > Try the telnet trick mentioned by others, but simply type "GET / HTTP/ > > 1.0" <ENTER><ENTER><ENTER> Actually, <ENTER> twice is sufficient. :-) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Marktplatz 29, 85567 Grafing Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. cat man du : where Unix geeks go when they die
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507281044.j6SAiIIx044768>