[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#231423: apache2-doc: multi-language negociation not working - wrong filenames



Package: apache2-doc
Version: 2.0.47-1
Severity: important
Tags: patch

After installing apache2-doc, the multi-language negociation does not work 
out of the box in the /var/www/apache2-default/manual directory and it's 
subdirectories.


As far as I can see, it's the wrong filename which makes the problems:
for example surfing into 

http://localhost/apache2-default/manual/index.html

gives the output

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.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 
URI: index.html.ru.koi8-r Content-Language: ru Content-type: text/html; charset=KOI8-r

However, renaming index.html to index.var and surfing into (the non-existent)

http://localhost/apache2-default/manual/index.html

gives the correct language-depending result.

This change must be applied to all negociacion files, that is 

*.html --> *.var

in all dirs.

I suspect that similar applies to all *.xml files, but I do not know yet. 

Furthermore, 
The following wrong file permissions are found in this package:

-rwxr-xr-x    1 root     root          277 Jul  5  2003 urlmapping.html
-rwxr-xr-x    1 root     root        18980 May 29  2003 urlmapping.html.en
-rwxr-xr-x    1 root     root        20544 May 29  2003 urlmapping.html.ja.jis

please check also all these subdirs for the same errors.

drwxr-xr-x    2 root     root         4096 Feb  6 12:44 developer
drwxr-xr-x    2 root     root         4096 Feb  6 12:44 faq
drwxr-xr-x    2 root     root         4096 Feb  6 12:44 howto
drwxr-xr-x    2 root     root         4096 Feb  6 12:44 images
drwxr-xr-x    2 root     root         4096 Feb  6 12:44 misc
drwxr-xr-x    2 root     root        12288 Feb  6 12:44 mod
drwxr-xr-x    2 root     root         4096 Feb  6 12:44 platform
drwxr-xr-x    2 root     root         4096 Feb  6 12:44 programs
drwxr-xr-x    2 root     root         4096 Feb  6 12:44 search
drwxr-xr-x    2 root     root         4096 Feb  6 12:44 ssl
drwxr-xr-x   10 root     root         4096 Feb  6 12:44 style
drwxr-xr-x    2 root     root         4096 Feb  6 12:44 vhosts


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux cromme 2.4.24-1-386 #1 Tue Jan 6 19:18:04 EST 2004 i686
Locale: LANG=C, LC_CTYPE=C

-- no debconf information




Reply to: