w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
apache2 and mod wsgi : Target WSGI script cannot be loaded as Python module

You would appear to be following the wrong documentation for starters. For mod_wsgi use:

You appear to be using documentation for FASTCGI deployment.

Also, you cannot do:

import test-wsgi

A Python module name cannot have '-' in it.

In summary, go reread (or read) the Django documentation on deployment.





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.