comparison doc/installation.txt @ 2559:6c096b4aea67

added description and example of mod_python interface option TrackerLanguage
author Alexander Smishlajev <a1s@users.sourceforge.net>
date Sun, 11 Jul 2004 14:52:37 +0000
parents 52944e87909c
children c0d6d5004464
comparison
equal deleted inserted replaced
2558:cf52ad6788c8 2559:6c096b4aea67
412 412
413 LD_PRELOAD=/usr/lib/libc_r.so 413 LD_PRELOAD=/usr/lib/libc_r.so
414 export LD_PRELOAD 414 export LD_PRELOAD
415 415
416 Next, you have to add Roundup trackers configuration to apache config. 416 Next, you have to add Roundup trackers configuration to apache config.
417 Roundup apache interface uses two options specified with ``PythonOption``
418 directives:
419
420 TrackerHome:
421 defines the tracker home directory - the directory that was specified
422 when you did ``roundup-admin init``. This option is required.
423
424 TrackerLaguage:
425 defines web user interface language. mod_python applications do not
426 receive OS environment variables in the same way as command-line
427 programs, so the language cannot be selected by setting commonly
428 used variables like ``LANG`` or ``LC_ALL``. ``TrackerLanguage``
429 value has the same syntax as values of these environment variables.
430 This option may be omitted.
431
417 In the following example we have two trackers set up in 432 In the following example we have two trackers set up in
418 ``/var/db/roundup/support`` and ``var/db/roundup/devel`` and accessed 433 ``/var/db/roundup/support`` and ``var/db/roundup/devel`` and accessed
419 as ``https://my.host/roundup/support/`` and ``https://my.host/roundup/devel/`` 434 as ``https://my.host/roundup/support/`` and ``https://my.host/roundup/devel/``
420 respectively. Having them share same parent directory allows us to 435 respectively. Having them share same parent directory allows us to
421 reduce the number of configuration directives. 436 reduce the number of configuration directives. Support tracker has
437 russian user interface. The other tracker (devel) has english user
438 interface (default).
422 439
423 Static files from ``html`` directory are served by apache itself - this 440 Static files from ``html`` directory are served by apache itself - this
424 is quickier and generally more robust than doing that from python. 441 is quickier and generally more robust than doing that from python.
425 Everything else is aliased to dummy (non-existing) ``py`` file, 442 Everything else is aliased to dummy (non-existing) ``py`` file,
426 which is handled by mod_python and our roundup module. 443 which is handled by mod_python and our roundup module.
449 # uncomment the following line to see tracebacks in the browser 466 # uncomment the following line to see tracebacks in the browser
450 # (note that *some* tracebacks will be displayed anyway) 467 # (note that *some* tracebacks will be displayed anyway)
451 #PythonDebug On 468 #PythonDebug On
452 </Directory> 469 </Directory>
453 # roundup tracker homes 470 # roundup tracker homes
471 <Directory /var/db/roundup/support>
472 PythonOption TrackerHome /var/db/roundup/support
473 PythonOption TrackerLanguage ru
474 </Directory>
454 <Directory /var/db/roundup/devel> 475 <Directory /var/db/roundup/devel>
455 PythonOption TrackerHome /var/db/roundup/devel 476 PythonOption TrackerHome /var/db/roundup/devel
456 </Directory>
457 <Directory /var/db/roundup/support>
458 PythonOption TrackerHome /var/db/roundup/support
459 </Directory> 477 </Directory>
460 478
461 479
462 Configure an Email Interface 480 Configure an Email Interface
463 ---------------------------- 481 ----------------------------

Roundup Issue Tracker: http://roundup-tracker.org/