<IfModule mod_python.c>
    #################################################
    # Roundup Issue tracker
    #################################################
    # enable Python optimizations (like 'python -O')
    PythonOptimize On
    # let apache handle static files from 'html' directories
    AliasMatch ^/roundup/([^/]+)/@@file/(.*) /var/lib/roundup/trackers/$1/html/$2
    # everything else is handled by roundup web UI
    AliasMatch ^/roundup/([^/]+)/(?!@@file/)(.*) /var/lib/roundup/trackers/$1/dummy.py/$2
    # roundup requires a slash after tracker name - add it if missing
    RedirectMatch permanent ^/roundup/([^/]+)$ /roundup/$1/
    # common settings for all roundup trackers
    <Directory /var/lib/roundup/trackers/*>
      Order allow,deny
      Allow from all
      AllowOverride None
      Options None
      AddHandler python-program .py
      PythonHandler roundup.cgi.apache
      # uncomment the following line to see tracebacks in the browser
      # (note that *some* tracebacks will be displayed anyway)
      #PythonDebug On
    </Directory>
    # roundup tracker homes
    <Directory /var/lib/roundup/trackers/support>
      PythonOption TrackerHome /var/lib/roundup/trackers/support
      PythonOption TrackerLanguage en
    </Directory>
</IfModule>
