Can't locate API module structure `mod_wsgi'

Solution 1:

The line:

LoadModule mod_wsgi modules/mod_wsgi.so

is wrong. It should have been:

LoadModule wsgi_module modules/mod_wsgi.so

Upgrading itself should not have made any difference.

Solution 2:

This particular problem was solved by installing python26-mod_wsgi.so.