suexec enabled, but still running as user

4 posts / 0 new
Last post
#1 Tue, 01/18/2011 - 03:38
neuron

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).

Tue, 01/18/2011 - 03:39
neuron

Configuration in pastebin: http://pastebin.com/U3gcpdeG

Tue, 01/18/2011 - 03:59
Locutus

Check out this thread: http://www.virtualmin.com/node/16841 and see if it helps.

Tue, 01/18/2011 - 04:00
neuron

a2dismod php5 && service apache2 restart

solved it :)

Topic locked