Message2693
the attached module is Roundup Web User Interface using
mod_python Apache module. it must be placed in the
TRACKER_HOME.
i plan to have only one tracker at my site, so this
module does not handle multiple trackers. support for
multiple trackers may be easily added in the same way
as in cgi-bin or standalone server interfaces.
alternatively, each tracker may be handled separately
by placing the wrapper in all tracker homes and adding
separate apache sections for each of them.
my tracker resides in /var/db/roundup. TRACKER_WEB
points to 'https://my.site/roundup/'. the following
lines were added to httpd.conf:
#################################################
# Roundup Issue tracker
#################################################
# enable Python optimizations (like 'python -O')
PythonOptimize On
# let apache handle static files from 'html' directory
Alias /roundup/@@file /var/db/roundup/html
# for roundup-0.6 use '_file' instead of '@@file'
AliasMatch /roundup/(?!@@file/)(.*)
/var/db/roundup/mp_roundup.py/$1
# add trailing slash if missing
RedirectMatch permanent /roundup$ /roundup/
# handler for /roundup/whatever
<Directory /var/db/roundup>
AllowOverride None
AddHandler python-program .py
PythonHandler mp_roundup
# uncomment the following line to see tracebacks in
the browser
# (note that *some* tracebacks will be displayed
anyway)
#PythonDebug On
</Directory>
# access to static files (.css, .js)
<Directory /var/db/roundup/html>
AllowOverride None
Options None
</Directory>
|
|
Date |
User |
Action |
Args |
2009-02-03 14:22:57 | admin | link | issue949864 messages |
2009-02-03 14:22:57 | admin | create | |
|