RkBlog - Python, PHP, Linux

Diamanda and mod_python

How to configure mod_python and diamanda

Diamanda usage under mod_python is in general the same as using other django apps. A sample config:
Alias /site_media/ "/path/to/diamanda/site_media/"
 <Location "/">
     SetHandler python-program
     PythonHandler django.core.handlers.modpython
     SetEnv DJANGO_SETTINGS_MODULE settings
     PythonPath "['/path/to/diamanda/'] + sys.path"
     PythonDebug On
 </Location>
 <Location "/site_media">
 SetHandler none
 </Location>