WebFaction
Community site: login faq

I'm trying to setup a Flask app via mod_wsgi and am just getting 500 errors.

I'd say the issue is in my http.conf because I absolutely don't know what I'm doing with Apache config. How do you get the http.conf to point to the wsgi file? And where are the Apache error logs?

Thanks! :)

asked 26 Aug '11, 02:21

mwan
111
accept rate: 0%

The Apache error los are located at:
/home/<your-username>/logs/user/error_<appnname>.log

You can get more detail about it here:
http://docs.webfaction.com/software/general.html?highlight=logs#user-logs

(26 Aug '11, 02:25) neeravk

Thanks neeravk, the logs sorted it out. I had a bad import in my wsgi. I've got it loading now. :)

permanent link

answered 26 Aug '11, 02:43

mwan
111
accept rate: 0%

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
×55
×44
×27

question asked: 26 Aug '11, 02:21

question was seen: 4,513 times

last updated: 26 Aug '11, 02:43

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 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