[csw-maintainers] I unbroke the community site

Maciej (Matchek) Bliziński maciej at opencsw.org
Sun Oct 6 10:51:09 CEST 2013

The community site was down. The WSGI process was using the system
(/usr/bin) Python which led to modules missing.

mod_wsgi (pid=25638): Target WSGI script
'/var/www/www.opencsw.org/osqa/osqa/osqa.wsgi' cannot be loaded as
Python module.
mod_wsgi (pid=25638): Exception occurred processing WSGI script
Traceback (most recent call last):
  File "/var/www/www.opencsw.org/osqa/osqa/osqa.wsgi", line 10, in <module>
     import django.core.handlers.wsgi
  ImportError: No module named django.core.handlers.wsgi

I fixed it by adding the WSGIPythonHome directive near the top of the
httpd-vhosts.conf configuration file:

# Must not be inside a VirtualHost directive.
WSGIPythonHome /opt/csw


More information about the maintainers mailing list