Re: OT: Apache virtual servers permissions and users?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Di, den 10.02.2004 schrieb WipeOut um 13:35:
> /var/www/www.domain1.com/
>                                                  html
>                                                  logs
>                                                  cgi-bin
> /var/www/www.domain2.com/
>                                                  html
>                                                  logs
>                                                  cgi-bin

we did it as follows:

a)
create new groups
  www-dom1
  www-dom2
  www-dom..

b)
chgrp www-dom1  /var/www/www.domain1.com
chgrp www-dom2  /var/www/www.domain2.com

c)
chmod g+rws  /var/www/www.domain1.com
chmod g+rws  /var/www/www.domain2.com

d)
add all users, who should manage a domain to the respecive group *and*
the user apache is running as (usually apache). This is a small security
risk, because the server has write permissions. Alternatively you may
chown the dirs to the apache user and revoke write permissions.

e)
you may create a symbolic link from each users home dir 







[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux