Hi all... tnx for this tutorial but I'm kinda stuck at this:
- nano -w virtual_host2.conf
It tells me to comment suPHP and add mod_ruid2 lines but this is already in my
/usr/local/directadmin/data/templates/custom/virtual_host2.conf
---
<IfModule !mod_ruid2.c>
SuexecUserGroup |USER| |GROUP|
</IfModule>
<IfModule mod_ruid2.c>
RMode config
RUidGid |USER| |GROUP|
RGroups apache access
</IfModule>
---
To me this seems even better than the example, should I just continue with the next step? What if it screws up? How will I revert the mod_ruid2?
Situation:
- Debian 6 VPS on Xen
- Not running suPHP as far as i know
By the way:
the mod_ruid2.c was a 404, I downloaded and renamed it manually for it to work.
----------------
update: I just continued anyway because the config seemed to be correct, i still only see user 'apache' for my apache processes though. system('id') in PHP gives me:
uid=1004(fvision) gid=1006(fvision) groups=1006(fvision),1000(apache),1004(access)
while running a very long loop in PHP (taking over 10 seconds to parse) shows user 'apache' in htop. What am i doing wrong?
Another thingy... all my files are already owned by the user instead of apache.
-----------
update 2: seems to be working fine now while I didn't do anything else anymore

thanks for the tutorial, really apreciate this!