Hi and welcome to LQ,
You should tell us your distro and apache version, so we could give you better advice
Quote:
Now I found out Apache is run under www-data. Now do I chown it to www-data or to the user and add the user to Apache group? That is what is confusing me.
|
There is no need to do anything as long as file permissions are 644 and directory permissions 755. I would advice though that you leave anything owned by the user in question.
Quote:
Also how do I find out if my server is running SuExec and/or SuPHP? thanks
|
Check the apache error_log to see if suexec is
enabled
For suPHP check if the module is loaded. Depending on distro (RHEL or Debian based), you can run respectively:
Code:
httpd -M|grep suphp
apache2ctl -M|grep suphp
Regards