Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291113 - >www-servers/apache-2.2.11-r2 is SNI support gone?
Summary: >www-servers/apache-2.2.11-r2 is SNI support gone?
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-30 07:18 UTC by Balazs Nemeth
Modified: 2009-10-30 08:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Balazs Nemeth 2009-10-30 07:18:28 UTC
I had installed apache-2.2.11-r2 with sni use flag. But I had some problems in relation to subversion. But that is another story. 

So I upgraded to 2.2.14-r1, but the sni support seems to be disappeared. I checked the gentoo apache patchset and saw that sni patch was gone. I also checked the httpd's source to see whether that patch was merged or not.

So I simply upgraded to 2.2.14 to see whats changed. After the upgrade process I got this error messages in statruperror.log which indicates that sni doesn't work.


Reproducible: Always

Steps to Reproduce:
1. emerge apache-2.2.11-r2 with sni use flag enabled
2. emerge >apache-2.2.11-r2 without sni 
3.

Actual Results:  
[warn] _default_ VirtualHost overlap on port 443, the first has precedence

Expected Results:  
SNI should work

Portage 2.1.6.13 (hardened/linux/amd64/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.18-028stab056 x86_64)
=================================================================                                        
System uname: Linux-2.6.18-028stab056-x86_64-Dual-Core_AMD_Opteron-tm-_Processor_1212-with-gentoo-1.12.11.1
Timestamp of tree: Tue, 27 Oct 2009 11:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /sbin/rc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=opteron -O2 -pipe"
DISTDIR="/_gentoo_portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo http://gentoo.inode.at http://gentoo.inf.elte.hu"
LANG="hu_HU.UTF-8"
LC_ALL="hu_HU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="hu"
MAKEOPTS="-j2"
PKGDIR="/_gentoo_portage/packages/opteron64"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/_gentoo_portage/tmp"
PORTDIR="/_gentoo_portage/portage"
PORTDIR_OVERLAY="/_gentoo_portage/overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext acl acpi amd64 berkdb bzip2 caps cli cracklib crypt dri gdbm gpm hardened iconv isdnlog justify mmx modules mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl pic pppd python readline reflection session slang spl sse sse2 sse3 ssl sysfs tcpd unicode urandom xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="auth_digest actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="hu" USERLAND="GNU" VIDEO_CARDS="vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Benedikt Böhm (RETIRED) gentoo-dev 2009-10-30 07:27:24 UTC
(In reply to comment #0)
> So I upgraded to 2.2.14-r1, but the sni support seems to be disappeared.

SNI support has been merged upstream, and is always enabled now

> So I simply upgraded to 2.2.14 to see whats changed. After the upgrade process
> I got this error messages in statruperror.log which indicates that sni doesn't
> work:
> [warn] _default_ VirtualHost overlap on port 443, the first has precedence

You need to configure name based virtual hosting for the ssl port ...

Listen *:443
NameVirtualHost *:443
<VirtualHost *:443>
...
</VirtualHost>
Comment 2 Balazs Nemeth 2009-10-30 08:08:28 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > So I upgraded to 2.2.14-r1, but the sni support seems to be disappeared.
> 
> SNI support has been merged upstream, and is always enabled now
> 
> > So I simply upgraded to 2.2.14 to see whats changed. After the upgrade process
> > I got this error messages in statruperror.log which indicates that sni doesn't
> > work:
> > [warn] _default_ VirtualHost overlap on port 443, the first has precedence
> 
> You need to configure name based virtual hosting for the ssl port ...
> 
> Listen *:443
> NameVirtualHost *:443
> <VirtualHost *:443>
> ...
> </VirtualHost>
> 

Thank you! It worked.