WebFaction
Community site: login faq

Anybody had any luck getting Roundup installed and working? I have tried both CGI and mod_wsgi without success. When I tried CGI, it would just redirect me back to the initial page when I tried to login and I wouldn't be logged in. Using wsgi wouldn't show the CSS at all. Didn't even try to login.

asked 20 Jun '11, 15:53

charliecompany
12
accept rate: 0%

What are the exact steps you took to install Roundup? Do you still have the site up somewhere where we could test it?

(20 Jun '11, 19:55) seanf

I was able to get it working with CGI. Haven't played with WSGI again. I think the main thing I was missing was figuring out what the index.py file should contain to work with mod_wsgi.

(23 Jun '11, 15:32) charliecompany

I took another shot at WSGI and I figured out a workaround. I am sure there has to be a better method for this, but here is what worked for me.

I had to set WSGIScriptAlias to point to the actual script, which is below and then set the document root to point to the HTML directory, otherwise the CSS never got loaded.

WSGIScriptAlias / /home/username/webapps/roundup_wsgi/htdocs/index.py
DocumentRoot /home/username/webapps/roundup_wsgi/tracker/html

The script I used is this:

from roundup.cgi.wsgi_handler import RequestDispatcher

tracker_home = '/home/username/webapps/roundup_wsgi/tracker/'
application = RequestDispatcher(tracker_home)

Config.ini needed web to be set as follows for CGI and mod_wsgi:

CGI: web = http://URL/index.py/Tracker/
mod_wsgi: web = http://URL/
permanent link

answered 23 Jun '11, 16:10

charliecompany
12
accept rate: 0%

edited 23 Jun '11, 16:30

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×62
×31

question asked: 20 Jun '11, 15:53

question was seen: 2,220 times

last updated: 23 Jun '11, 16:30

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2016 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM