suexec enabled, but still running as user

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 :slight_smile: