Use AssignUserId as variable in Apache MPM ITK
Posted
by
Robert Hanson
on Super User
See other posts from Super User
or by Robert Hanson
Published on 2012-05-01T17:59:07Z
Indexed on
2012/09/05
9:41 UTC
Read the original article
Hit count: 376
I heard that the MPM-ITK module for Apache can change Apache server's behaviour to access some folder / file using the UID or GID from the default UID (www-data
) into a given UID on the configuration.
For example:
<IfModule mpm_itk_module>
AssignUserId user group
</IfModule>
Is it possible to make the username and group a variable?
I want to make Apache access the /home
folder as its owner. For example /home/me
can only be accessed by the user me
, while /home/you
can only be accessed you
.
© Super User or respective owner