What's the difference between WSGI <app> and <module>?
Posted
by
Leftium
on Server Fault
See other posts from Server Fault
or by Leftium
Published on 2012-12-10T08:34:15Z
Indexed on
2012/12/10
11:10 UTC
Read the original article
Hit count: 268
I followed these instructions to serve Python (Web2Py) via uWSGI. However, the web server returned an error:
uWSGI Error
Python application not found
until I modified the config.xml config file from:
<uwsgi>
<pythonpath>/var/web2py/</pythonpath>
<app mountpoint="/">
<script>wsgihandler</script>
</app>
</uwsgi>
to:
<uwsgi>
<pythonpath>/var/web2py/</pythonpath>
<module>wsgihandler</module>
</uwsgi>
What's the difference between <app> and <module>? Why did <module> work, but not <app>?
© Server Fault or respective owner