Hello, I managed to install OSQA / on nginx/gunicorn+supervisor. Now when I change location to /osqa I can see the home page but I get 404 on all other pages. And links to pages other than homepage are in root directory.. Any help?

Edit: When I change APP_URL to test.com/osqa/ I get normal links but whatever I try to access I get 404 and the CSS is not formatted. I'm now trying to run OSQA with runserver command in folder /osqa I get bunch of 404:

root@ubuntu:/home/osqa# python manage.py runserver 0.0.0.0:9999
Validating models...

0 errors found
Django version 1.3.1, using settings 'osqa.settings'
Development server is running at http://0.0.0.0:9999/
Quit the server with CONTROL-C.
[22/Nov/2011 16:21:06] "GET /osqa HTTP/1.1" 200 8988
[22/Nov/2011 16:21:06] "GET /osqa/m/default/media/style/style.css HTTP/1.1" 404 6857
[22/Nov/2011 16:21:06] "GET /osqa/m/default/media/js/osqa.main.js HTTP/1.1" 404 6857
[22/Nov/2011 16:21:07] "GET /upfiles/logo.png HTTP/1.1" 200 21607
[22/Nov/2011 16:21:07] "GET /osqa/m/default/media/images/feed-icon-small.png HTTP/1.1" 404 6868
[22/Nov/2011 16:21:07] "GET /m/default/media/images/webfaction.png HTTP/1.1" 200 2348
[22/Nov/2011 16:21:08] "GET /osqa/m/default/media/images/by-sa-88x31.png HTTP/1.1" 404 6864

asked 21 Nov '11, 15:45

Goran's gravatar image

Goran
862713
accept rate: 0%

edited 22 Nov '11, 16:20

Be the first one to answer this question!
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

Tags:

×49
×45
×5
×1

Asked: 21 Nov '11, 15:45

Seen: 309 times

Last updated: 22 Nov '11, 16:20

powered by OSQA