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 debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201305151321.12094...@fuckaround.org

Reply via email to