WSGIDaemonProcess Rent python-path=/var/www/rent:/root/.virtualenvs/rent/lib/python2.7/site-packages
This is the most likely cause of the problem. You have created a virtual machine inside the superuser’s home folder. But this folder is unlikely to be available for apache. By default, the user's home folder is not accessible to any other user.
- WSGI- , nobody, httpd, apache - . , /root/, . , , .
- virtualenv , . /usr/local/virtualenv - .
, /root/.virtualenvs/ /usr/local/virtualenv
source /root/.virtualenvs/rent/bin/activate
pip freeze > /tmp/requirements.txt
cd /usr/local/
virtualenv virtualenv
source virtualenv/bin/activate
pip install -r /tmp/requirements.txt
httpd.conf, .