Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101445 - vhosts.d/ not working properly (as configured in the httpd.conf) for apache2
Summary: vhosts.d/ not working properly (as configured in the httpd.conf) for apache2
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-05 08:24 UTC by Eric
Modified: 2005-10-22 14:22 UTC (History)
0 users

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 Eric 2005-08-05 08:24:50 UTC
I use the default apache2 settings (putting vhosts in /etc/apache2/vhosts.d). I
have 4 vhosts, and my 4th one never loads, even though I have re-written it
several times, and even copied one from another site, changed the names, and
still no joy.

Reproducible: Always
Steps to Reproduce:
1. Read http://paste.plone.org/3117
2. Read http://paste.plone.org/3118
3. Add the testing vhost to the Include conf/apache2/vhosts.d/testing.xxxxxxxxx.conf

Actual Results:  
1) The vhost would not load unless I manually added another line to load it in
httpd.conf
2) 

Expected Results:  
Loaded ALL the *.conf files in /etc/apache2/vhosts.d

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 Intel(R) Xeon(TM) CPU 3.00GHz
Gentoo Base System version 1.6.11
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -ffast-math -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -ffast-math -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/
http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo
http://mirrors.acm.cs.rpi.edu/gentoo/ http://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm bash-completion berkdb bitmap-fonts bzip2 ccache
cpdflib crypt cups dba eds emboss esd fam firebird foomaticdb freetds freetype
gd gd-external gdbm gif gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib innodb
interbase ipv6 java javascript jp2 jpeg jpeg2k kde kerberos krb4 ldap libwww
motif moznocompose moznoirc moznomail mp3 msession mysql ncurses nls nptl ogg
opengl openssh pam pdflib perl php png python qt rdesktop readline samba sdl
session ssl svga symlink tcltk tcpd tiff truetype truetype-fonts type1
type1-fonts vorbis winbind xml xml2 xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-08-05 08:33:24 UTC
Include conf/vhosts.d/*.conf is not correct. It should be

Include /etc/apache2/vhosts.d/*.conf

Looks like you did not run etc-update at all or did not update your
configuration correctly. 
Comment 2 Eric 2005-08-05 10:49:40 UTC
I've run etc-update every time I emerge something. I even unmerged everything,
and removed all the files. I'll change httpd.conf accordingly to what you
suggested below. Thanks.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-08-06 03:53:04 UTC
(In reply to comment #2)
> I'll change httpd.conf accordingly to what you
> suggested below. Thanks.

Well, that's not just what I suggest, that's what apache ebuild installs.
Comment 4 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-09-17 19:44:38 UTC
The plone links have expired, can you please repost that information as an
attachment?

Also, what exact version+revision of apache are you running? You can find that
out by doing an `emerge -s apache`.
Comment 5 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-10-22 14:22:23 UTC
closing due to lack of information