Hi All,
I am looking at doing up a site with Apache running as different user. I have google and found the steps to do it (
http://www.howtoforge.org/running-vh...on-debian-etch).
I have added the directives into one of my vhost file and restarted Apache (sudo /etc/init.d/apache2 restart). I want to know how do I check if it is working as I wanted it to. I tried using "ps aux" and looking for the apache string but I found all the processes started are running either as root or www-data.
root 2101 0.0 1.4 22724 7268 ? Ss 17:52 0:00 /usr/sbin/apache2 -k start
www-data 2103 0.0 0.4 16248 2332 ? S 17:52 0:00 /usr/sbin/apache2 -k start
root 2104 0.0 0.6 22724 3532 ? S 17:52 0:00 /usr/sbin/apache2 -k start
root 2105 0.0 0.6 22724 3520 ? S 17:52 0:00 /usr/sbin/apache2 -k start
root 2106 0.0 0.6 22724 3520 ? S 17:52 0:00 /usr/sbin/apache2 -k start
root 2107 0.0 0.6 22724 3520 ? S 17:52 0:00 /usr/sbin/apache2 -k start
root 2108 0.0 0.6 22724 3520 ? S 17:52 0:00 /usr/sbin/apache2 -k start
1. Is this the correct behaviour?
2. If the user want to restart or reload apache, how can they do that without root access?
Regards.
Recent comments
9 hours 3 min ago
18 hours 31 min ago
19 hours 20 min ago
22 hours 53 min ago
1 day 3 hours ago
1 day 3 hours ago
1 day 5 hours ago
1 day 15 hours ago
1 day 20 hours ago
1 day 22 hours ago