Hi,

I've been able to setup a very simple python HellloWorld python example on 
my Centos 7 virtual box:

http://192.168.1.222/helloworld ->  Hello World!

This works great!

However, I'm having a very difficult time setting up a very simple flask 
helloworld example using Centos 7, Apache2.4, mod_wsgi and flask. I can't 
even find such a working example or tutorial on the web.

When I try, I continuously get a 500 - "Internal Server Error" that winds 
up with the following error in the error log:
[Sun Apr 28 00:11:04.756760 2019] [:error] [pid 17653] [client 
192.168.1.102:2420] Traceback (most recent call last): [Sun Apr 28 
00:11:04.756781 2019] [:error] [pid 17653] [client 192.168.1.102:2420] File 
"/var/www/html/sites/test/test.wsgi", line 7, in <module> [Sun Apr 28 
00:11:04.756908 2019] [:error] [pid 17653] [client 192.168.1.102:2420] from 
test.routes import app as application [Sun Apr 28 00:11:04.756947 2019] 
[:error] [pid 17653] [client 192.168.1.102:2420] ImportError: No module 
named routes

It would be wonderful if you could post a full minimal working example that 
works on Centos 7. I can find working examples for flask on Ubuntu or using 
ngnix, but nothing that works with mod_wsgi.

Any chance I can get a full very basic or simple example/tutorial on Centos 
7, flask, mod_wsgi, Apache/2.4.6 (CentOS)?

Thanks, Rick 

-- 
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 https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to