Answer the question
In order to leave comments, you need to log in
Python + django + wsgi + chroot: how to chroot each virtual host into a project folder?
I don't really understand how to make a chroot for each virtual host into the project folder, in other words, limit it to the file system.
I found the chroot option in WSGIProcessDaemon in some config examples, but the official mod_wsgi documentation doesn't say anything about it.
Answer the question
In order to leave comments, you need to log in
How are you spinning the python?
UWSGI has uid and gid options. they also say under whom the Uwsgi process will work.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question