Apache2 just listening to https?

Uzi Klein uzi at bmby.com
Thu Jul 28 10:52:03 GMT 2005



Oliver Fromme wrote:
> Uzi Klein <uzi at 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.
> 

note the *name vhost* and the user's conf.
-Uzi

>  > > 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
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2757 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050728/274b07e3/smime-0001.bin


More information about the freebsd-stable mailing list