What is the name of the group my webserver is running as?

3 posts / 0 new
Last post
#1 Wed, 06/20/2007 - 03:44

What is the name of the group my webserver is running as?


When I create a new virtual server, what is the name of the groupe my webserver is running as?

I need this to install a cms in my server...


Wed, 06/20/2007 - 12:11

Guess this depends on your settings... in my default setup FCGId was used. Therefore the during the creation of a new virutal server a new user with the domain name (without the suffix) was created. This user had his own domain. (of course you could set this manually, so... you should know it in this case).

domain-test.com would result in a user "domain-test" with group "domain-test" then and when using apaches script execution mode FCGId then the apache user for your virtual server should be that.... running with mod_php is just www-data with group www-data.

Just have a look at the script execution mode and if not mod_php check the user and group settings of the files in your home directory to be sure ;)

Wed, 06/20/2007 - 12:27
Joe's picture

Hey Julien,

That depends.

If suexec is in effect it will be the username and group of the owner of the virtual server account. If suexec is not in effect (like if you're using mod_php) then it will be whatever the default username and group is (apache:apache on Red Hat based systems, www-data on Debian-based systems, I dunno about others off-hand).


Check out the forum guidelines!

Topic locked