Apache serving static content with the uid of the owner of the file with mpm-prefork
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 [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Re: Apache serving static content with the uid of theowner of the file with mpm-prefork
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 [at] httpd.apache.org
> " from the digest: users-digest-unsubscribe [at] httpd.apache.org
> For additional commands, e-mail: users-help [at] 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 <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org