Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57792 - apache2: browsing /var/www/localhost/htdocs/manual requires MultiViews
Summary: apache2: browsing /var/www/localhost/htdocs/manual requires MultiViews
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-20 18:07 UTC by Steve Arnold
Modified: 2004-07-25 14:12 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 Steve Arnold archtester gentoo-dev 2004-07-20 18:07:21 UTC
I just upgraded a working server from 2.0.49-r1 to 2.0.50 and the apache manual 
broke, it displayed the following gibberish instead the correct langauge:

URI: index.html.de Content-Language: de Content-type: text/html;
charset=ISO-8859-1 URI: index.html.en Content-Language: en Content-type:
text/html; charset=ISO-8859-1 URI: index.html.fr Content-Language: fr
Content-type: text/html; charset=ISO-8859-1 URI: index.html.ja.jis
Content-Language: ja Content-type: text/html; charset=ISO-2022-JP URI:
index.html.ko.euc-kr Content-Language: ko Content-type: text/html;
charset=EUC-KR

It didn't want to work until I put MultiViews in the following section:

<Directory "/var/www/localhost/htdocs/manual">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all

    <Files *.html>
        SetHandler type-map
    </Files>

    SetEnvIf Request_URI ^/manual/de/ prefer-language=de
...

This should probably be in the default configuration, since it was very annoying...

Reproducible: Always
Steps to Reproduce:
1. Upgrade apache2
2. Try it without MultViews
3.

Actual Results:  
the above gibberish

Expected Results:  
the apache manual in english

megatron htdocs # emerge info
Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.3)
=================================================================
System uname: 2.6.3 i686 AMD Duron(tm) processor
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -mcpu=athlon -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -mcpu=athlon -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache cvs distcc sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://megatron.arnolds.bogus/gentoo
http://trumpetti.atm.tut.fi/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow aalib acl acpi alsa apache2 apm berkdb crypt cups directfb emacs
encode fam fbcon foomaticdb freetype freetype2 g77 gb gd gdbm gif gpm imap imlib
innodb ipv6 java jpeg jpg junit lame ldap libg++ libwww mad maildir memlimit
mikmod mmx motif mysql ncurses nls ogg oggvorbis oss pam pdflib perl pg-hier
plotutils png postgres python quicktime readline samba sasl sdl slang snmp spell
ssl tcpd tiff truetype vorbis x86 xml xml2 zlib"
Comment 1 Chuck Short (RETIRED) gentoo-dev 2004-07-25 14:12:55 UTC
Done