Category : apache

The flask application works well without Apache, but when I deploy the app on Apache-flask environment with ‘import scenedetect’ on app.py, the apache logs show: 113 [wsgi:error] [pid 16590] [remote 58.229.209.118:2042] mod_wsgi (pid=16590): **Target WSGI script ‘/var/www/kmj/app.wsgi’ cannot be loaded as Python module.** 114 [wsgi:error] [pid 16590] [remote 58.229.209.118:2042] mod_wsgi (pid=16590): Exception occurred processing WSGI ..

Read more

i’m trying to run a simple flask application on apache24 but in the end i get Internal server error, i’m going to attach my configuration files and code. httpd.conf # Virtual hosts Include conf/extra/httpd-vhosts.conf at end file im add this: AddHandler wsgi-script .wsgi ScriptInterpreterSource Registry-Strict LoadFile "c:/program files/python39/python39.dll" LoadModule wsgi_module "c:/program files/python39/lib/site-packages/mod_wsgi/server/mod_wsgi.cp39-win_amd64.pyd" WSGIPythonHome "c:/program files/python39" ..

Read more