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

Website packages.debian.org : INTERNAL SERVER ERROR problem with an Accept-Language header fr



Hi all,

Since some days, an INTERNAL SERVER ERROR occurs with an Accept-Language header fr on the website packages.debian.org, for the details of a package (example : http://packages.debian.org/etch/perl).

My Iceweasel default config was
intl.accept_languages => fr, fr-fr, en-us, en
It generate this header :
GET http://packages.debian.org/etch/perl HTTP/1.1
Host: packages.debian.org
User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.0.6) Gecko/2009020409 Iceweasel/3.0.6 (Debian-3.0.6-1)
Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
(...)
Response :
HTTP/1.1 500 Internal Server Error

Then, I tried with wget , it worked. I searched and found that it was the "fr" Accept-Language which generated the error :

No Accept-Language header :
$ wget -nv -O - http://packages.debian.org/etch/perl
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd";>
<html lang="en">
<head>
<title>Debian -- Details of package perl in etch</title>
(...)

French Accept-Language header :
$ wget -nv --header='Accept-Language: fr' -O - http://packages.debian.org/etch/perl
http://packages.debian.org/etch/perl:
2009-02-20 11:31:32 ERREUR 500: Internal Server Error.

English Accept-Language header :
$ wget -nv --header='Accept-Language: en' -O - http://packages.debian.org/etch/perl <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd";>
<html lang="en">
<head>
<title>Debian -- Details of package perl in etch</title>
(...)

English then French Accept-Language header :
$ wget -nv --header='Accept-Language: en,fr' -O - http://packages.debian.org/etch/perl <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd";>
<html lang="en">
<head>
<title>Debian -- Details of package perl in etch</title>
(...)

French then English Accept-Language header :

$ wget -nv --header='Accept-Language: fr,en' -O - http://packages.debian.org/etch/perl
http://packages.debian.org/etch/perl:
2009-02-20 11:39:10 ERREUR 500: Internal Server Error.
Can you take a look at this problem ? It could be an Apache rule problem.


Thanks,
Nicolas Gadoux



Reply to: