Hello, I have a really strange problem with our Trac installation. Adding Trac to the configuration of our webserver seems to affect the locale setting of the whole webserver.
I made a little PHP script to test this:
<?php
echo setlocale(LC_ALL, 0);
?>
Usually it gives me the following:
LC_CTYPE=de_DE.UTF-8;LC_NUMERIC=C;LC_TIME=C;LC_COLLATE=C;LC_MONETARY=C;
LC_MESSAGES=C;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;
LC_MEASUREMENT=C;LC_IDENTIFICATION=C
After I added the config for Trac the output switches somehow randomly
between the above and this:
de_DE.UTF-8
Here is the webserver config for Trac:
<Location /trac>
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnvParentDir /var/lib/trac
PythonOption TracUriRoot /trac
PythonOption TracLocale "de_DE.UTF-8"
AuthType Basic
AuthName "Trac"
AuthUserFile /etc/apache2/passwd
Require user magnum
</Location>
If I remove these lines, everything's fine again.
Trac 0.11.2, Apache 2.2.9, mod_python 3.3.1, PHP 5.2.6
Any Ideas?
cu, Magnus
--
Carl Magnus Rosenbaum M.A.
Administration - Programmierung - Weiterbildung http://cmr.cx/
Tel: +49 89 70066626 Fax: +49 89 70066686 Mobil: +49 163 7006662
PGP Fingerprint: DEBC 3C99 EF1D 74F0 D4C7 EFF5 C268 3690 0EA1 7641
signature.asc
Description: OpenPGP digital signature
