I tried to run osqa on wsgi but there are some errors. So server gives me Error 500(Internal Server Error) Can you help me solve these problems? I´m sure I have settings.py and settings_local.py so what's the problem? Thank you

asked 07 Nov '11, 12:30

JakubL's gravatar image

JakubL
26238
accept rate: 0%


The problem is on your wsgi file. Instead of "osqa.setting" use "<osqa-install-folder-name>.settings".

link

answered 07 Nov '11, 13:19

Hernani%20Cerqueira's gravatar image

Hernani Cerq... ♦♦
16.8k65975
accept rate: 52%

Do you mean that I have this: os.environ['DJANGO_SETTINGS_MODULE'] = 'osqa.settings' change to this: os.environ['DJANGO_SETTINGS_MODULE'] = '<osqa-install-folder-name>.settings' ?

(07 Nov '11, 13:32) JakubL

Correct, but replace '<osqa-install-folder-name> by your actual folder name. So if osqa is placed on /home/someuser/osqasite, then that setting should be 'osqasite.settings'.

(07 Nov '11, 16:59) Hernani Cerq... ♦♦

So i did it but there are still some same errors.

(08 Nov '11, 06:43) JakubL

The same error exactly?

(08 Nov '11, 07:10) Hernani Cerq... ♦♦
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

Tags:

×113
×38
×12

Asked: 07 Nov '11, 12:30

Seen: 403 times

Last updated: 08 Nov '11, 07:10

powered by OSQA