Python/Django/WSGI/Apache - "ImportError: No module named site"

Your mod_wsgi was compiled for Python 2.7. You cannot then try and point it at a Python 2.5 virtual environment.

Also, the setting:

WSGIPythonHome /home/rory/tix/virtualenv2.5/lib/python2.5/

is pointing at the wrong thing even if it was a Python 2.7 virtual environment.

The settings:

UnSetEnv PYTHONSTARTUP
SetEnv PYTHONPATH /home/rory/tix/virtualenv2.5/lib/python2.5/

will not do anything either and don't know where you got the idea you could do that.

FWIW, the mod_wsgi documentation on virtual environments can be found at:

https://modwsgi.readthedocs.io/en/develop/user-guides/virtual-environments.html

This isn't going to help you though because you seem to have a more basic problem with your mod_wsgi and Python installations to begin with. The issue potentially being a variant of:

https://modwsgi.readthedocs.io/en/develop/user-guides/installation-issues.html#multiple-python-versions

Where did you get the mod_wsgi.so you are using?

Where is the Python 2.7 installed?

What other Python versions do you have installed and where?