I was able to resolve it with 'WSGIImportScript':
mod_wsgi itself has access to /etc/passwd but before running user 
application (and after Python interpreter was initialised) i'm running 
script using 'WSGIImportScript' which changes hat to one, where is no 
access to /etc/passwd. Hope the user is not able to prevent script in 
'WSGIImportScript' (which is in VirtualHost) from running.

Anyway, it would be nice be able to run with '-S' and/or setting env. 
variables.

Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to