Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92624 - Apache dynamic vhosts conf file (vhosts/dynamic-vhosts.conf) causes 403 errors when enabled
Summary: Apache dynamic vhosts conf file (vhosts/dynamic-vhosts.conf) causes 403 error...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Apache Team - Bugzilla Reports
URL: http://starglade.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-14 12:39 UTC by Chris Jenkinson
Modified: 2005-07-11 20:00 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 Chris Jenkinson 2005-05-14 12:39:26 UTC
When enabling the dynamic vhosting, in apache 2.0.54-r4, by uncommenting the line "Include vhosts/dynamic-vhosts.conf", and uncommenting and changing the appropriate lines in vhosts/dynamic-vhosts.conf, all pages accessed on the web server give 403 errors. The only site which loads is http://localhost/.

In /var/www/, there are different directories corresponding to domain names (e.g. /var/www/starglade.org/, /var/www/chimaera.starglade.org/).

Reproducible: Always
Steps to Reproduce:



Expected Results:  
Returned the appropriate page in the directory.

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.9-bytemark-uml-20041208-1-bytemark-uml-20041207-1 i686)
=================================================================
System uname: 2.6.9-bytemark-uml-20041208-1-bytemark-uml-20041207-1 i686 UML
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 28 2005, 17:09:04)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.4.3-r4, 1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains
/var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://mir.zyrianes.net/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 alsa apache2 apm arts avi berkdb bitmap-fonts crypt cups curl emboss
encode foomaticdb fortran gdbm gif gpm gtk2 imap imlib ipv6 jpeg libg++ libwww
mad maildir mikmod motif mp3 mpeg mysql ncurses nls oggvorbis pam pdflib perl
php png python qmail quicktime readline ruby slang spell ssl tcpd tiff truetype
truetype-fonts type1-fonts vhosts xml2 xmms xv zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Chris Jenkinson 2005-05-14 12:40:12 UTC
I forgot to mention that the dynamic vhosting setup worked perfectly before upgrading to apache-2.0.54-r4.

Chris
Comment 2 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-07-11 20:00:28 UTC
2.0.54-r4 was a new-style ebuild (it's no longer in the tree as there have been
a few revbumps)

in new-style, only necessary modules are enabled by default.
you will need to (at least) uncomment the mod_vhost_alias module, and possibly
tweak how your dynamic vhosts are defined to work with new-style.