On 04/07/10 08:40, André Ferraz wrote:
Hi list, i'm using a mpm-prefork with a lot of virtualhosts created, splited between 200-500 different uids (different users), i need some way to make Apache change its uid to the user to send that static content to the client that requested that file. I saw that mpm-itk can do what i want, but i can't change to another mpm type, just studied a little about apache module development , dunno if its possible to solve this in the module level. Anyone had the same problem ? There is some way to make this behaviour on mpm-prefork ? Thanks in Advance ! --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See<URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
Write a fcgi script to serve the files and use suexec to switch the user ids.
-- Nilesh Govindarajan Site & Server Administrator www.itech7.com मेरा भारत महान ! मम भारत: महत्तम भवतु ! --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx