[ Home | RSS 2.0 | ATOM 1.0 ]
I recently setup a Roundup tracker and wanted to host it through mod_wsgi. There is an example in the installation document, but it didn't work for me, so here is what I ended up doing.
Setup my apache2 virtualhost:
<VirtualHost *> ServerAdmin firstname.lastname@example.org ServerName roundup.domain.com DocumentRoot /opt/roundup/site/html AddDefaultCharset utf-8 WSGIScriptAlias / /opt/roundup/site.wsgi # create some wsgi daemons - use these parameters for a simple setup WSGIDaemonProcess site-roundup user=useraccount group=useracounnt processes=5 threads=10 maximum-requests=200 umask=0007 # use the daemons we defined above to process requests! WSGIProcessGroup site-roundup LogLevel warn ErrorLog /opt/logs/roundup.domain.com-error.log CustomLog /opt/logs/roundup.domain.com-access.log combined ServerSignature Off </VirtualHost>
Set web = directive in my roundup config.ini to http://roundup.domain.com/
Created my site.wsgi file:
from roundup.cgi.wsgi_handler import RequestDispatcher tracker_home = '/opt/roundup/site' application = RequestDispatcher(tracker_home)
And that seemed to do the trick.