These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for suexec enabled, but still running as user on the new forum.
Hi
I just installed a clean virtualmin gpl setup. Then I did apt-get install apache2-suexec-custom and fixed /etc/apache2/suexec/www-data so it points at /home.
Restarted apache. Added a test server (suexec was on by default in the server template).
When I add a little script to the site that does a fopen("test","w"); it's saved as www-data. What am I doing wrong? There's nothing interesting in the log files that I can tell (says suexec enabled).
Configuration in pastebin: http://pastebin.com/U3gcpdeG
Check out this thread: http://www.virtualmin.com/node/16841 and see if it helps.
a2dismod php5 && service apache2 restart
solved it :)