RkBlog

Hardware, programming and astronomy tutorials and reviews.

Diamanda and mod_python

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>
RkBlog

Diamanda Applications Set, 14 July 2008, Piotr Maliński

Comment article