Apache serving static content with the uid of the owner of the file with mpm-prefork

Apache serving static content with the uid of the owner of the file with mpm-prefork

am 07.04.2010 05:10:54 von deferraz

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 for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Apache serving static content with the uid of theowner of the file with mpm-prefork

am 07.04.2010 06:25:16 von Nilesh Govindrajan

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 for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>

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 for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org