Hi folks!

I installed apache2 web server on debian.

I need use this web server to host several domains (friends's domains)

I'm not sure how configure permission for each users.

ie:

user1 = mywebserver1 (has real domain)
user2 = mywebserver2 (has real domain)
user3 = mywebserver3 (has real domain)
user4 = mywebserver4 (has real domain)

now:

mkdir -p /var/www/{mywebserver1,mywebserver2,mywebserver3,mywebserver4,}

is it a good idea set permission like:

chown mywebserver1:mywebserver1 /var/www/mywebserver1

and

chmod 755 /var/www/mywebserver1?

and same for other dirs?

or is there a howto to setting up this configuration?

thanks!

I need use also php and cgi-bin

Pol


-- 
To UNSUBSCRIBE, email to [email protected] 
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to