If you want continued help, I really need to see the Apache configuration you 
are using, as asked for last time. Preferably if you can provide the full 
Apache configuration and not just the snippet so can see what else is in the 
Apache configuration in the way of Listen, NameVirtualHost and VirtualHost 
directives.

Importantly, would also need to see the exact URL you are using to access the 
system so can relate that to the Apache configuration you are using, and an 
indication of whether the error page you are seeing is a generic Apache error 
page or a Python web framework specific error page.

Also, what messages are logged in both the Apache access log and error log at 
the time of making the request.

Right now all I have been able to do is offer up suggestions based on guesses 
from the limited details given. The cause of any problem may well be obvious if 
can see actual configuration used and more details on what is being requested.

Graham

On 04/02/2015, at 8:18 AM, Apollo Clark <[email protected]> wrote:

> Well, I made the Vagrant project, running Ubuntu 14.04, using Discover-Flask:
> https://github.com/realpython/discover-flask
> 
> I also created another simple Flask app:
> 
> simple.wsgi
> import os
> import sys
> 
> project = os.path.dirname(__file__)
> path = os.path.dirname(project)
> 
> if project not in sys.path:
>     sys.path.insert(0,project)
> 
> from run import app as application
> 
> 
> 
> run.py
> from flask import Flask
> 
> app = Flask(__name__)
> app.debug = True
> 
> @app.route('/')
> def hello_world():
>     return 'Hello World!'
> 
> if __name__ = '__main__':
>     app.run(host = '0.0.0.0')
> 
> 
> Using the configuration you created, I can get both of these apps running. 
> So, this means it's not Ubuntu, Apache, mod_wsgi, nor Flask. I'm guessing now 
> that it's an issue with the Flask Restful API / flask.ext.restful library. 
> I'll get on the Flask mailing list, see if I can figure this out.
> 
> What's stumped me so much is the lack of debugging output in the Apache error 
> logs... Thanks for your help!
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/modwsgi.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to