[Answered ]-Deploy with Apache2, mod_wgi and django 1.9 on ubuntu server 16.04

2👍

FWIW. You log files don’t quite match what you says your configuration says you are using.

For a start, try dropping /usr/lib/python3.5/dist-packages from python-path option. It shouldn’t be required and adding a second path may be triggering an issue under Python 3 that was fixed in mod_wsgi some time back. Ubuntu unfortunately ships a mod_wsgi version from 2 years ago, even in recent Ubuntu versions. They are more than 30 versions behind the latest version. In general it is recommended not to use the mod_wsgi packages supplied by Ubuntu, compile mod_wsgi from source code yourself. The version supplied by Ubuntu is not supported because it is so old.

Leave a comment