apache process user/group is www-data and not user - bug or intended?
Posted: Thu May 11, 2017 11:58 am
hi!
i'm very new to vestacp and so far i really like it. congratulation and bigh thanks for this project :)
sample setup:
os = ubuntu 16.04
user = test
domain = test.example.com
i have a test setup with some vhosts, using apache. the problem is, that when i use the default apache template, the process runs as www-data and not as my user "test". when i change the template to "phpfcgid" and visit test.example.com it runs as user "test".
is that behaviour intended? looking at the template I see some entries regarding user/group of the process:
shouldn't that cause my apache to run as "test"? or would i have to install mod_ruid2.c first?
i'm also quite new to linux, so please be patient with me :)
thanks for your help!
i'm very new to vestacp and so far i really like it. congratulation and bigh thanks for this project :)
sample setup:
os = ubuntu 16.04
user = test
domain = test.example.com
i have a test setup with some vhosts, using apache. the problem is, that when i use the default apache template, the process runs as www-data and not as my user "test". when i change the template to "phpfcgid" and visit test.example.com it runs as user "test".
is that behaviour intended? looking at the template I see some entries regarding user/group of the process:
Code: Select all
<IfModule mod_ruid2.c>
RMode config
RUidGid %user% %group%
RGroups www-data
</IfModule>
<IfModule itk.c>
AssignUserID %user% %group%
</IfModule>
i'm also quite new to linux, so please be patient with me :)
thanks for your help!