ok i've been at this a while.
can any one tell me if its right please, or fill me in the why it's wrong if it is.
Step 1.
What i was going to do is create two groups one called midway and the other webbies, then i create two users, add 1st user to midway then do this ( chgrp –R midway /path/to/midwayfiles then chmod –R g+rw /path/to ) thats for the directory /var/ww/html which is main part of site.
the do the same thing for webbies with a different user, then add user to that group, then i think i have to set each user permissons.if i go more than one account
their folder would be /var/www/vhosts/ so me thinking if i had another say paid user with new domain it would be like so
/var/www/vhost/www.yoursite.com
or
I create my new user ( called midcom ) and add midcom to webbies.
then
mkdir /var/www/vhost/midcom.mydomain.com
then
chown midcom.midcom /var/www/vhost/midcom.mydomain.com
then
chmod 755 /var/www/vhost/midcom.mydomain.com
then under the httpd.config i would add the sub domain to point to that folder
<VirtualHost *:80>
ServerAdmin
webmaster@midcom.mydomain.com
DocumentRoot /var/www/vhost/midcom.mydomain.com
ServerName midcom.mydomain.com
</VirtualHost>
me thinks thats right
hope that makes sence ?
any one help please.
TT