Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a system where users upload wsgi applications and we serve them using apache/mod_wsgi. For scaling reasons, we're simply using the WSGIDaemonProcess directive and setting them to dynamically allocated UID/GIDs. The problem is, we don't have associated users with these UIDs.

Is there a way to keep mod_wsgi from trying to determine the "user" associated with a particular UID? I can't find a directive anywhere that does this.

EDIT: Taking a look at the mod_wsgi.c source, it appears (near line 9700) that the conditional check for an entry in /etc/passwd is hard-coded.

In other words, this isn't possible.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Discussion about this on mod_wsgi mailing list at:

http://groups.google.com/group/modwsgi/browse_frm/thread/193c15873ccba18c

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.