Apache virtual servers permissions and users?
admin at thelight.org.uk
Tue Feb 10 12:56:05 UTC 2004
The way I work this is to chown /var/www/www.domain.com to the user/group of
the person who's website the domain related to. Then in the users
/home/username/ directory i create a symbolic link to there
/var/www/www.domain.com directory. Users only have access to there own
website directories and ive never had any problems with permissions.
From: fedora-list-admin at redhat.com [mailto:fedora-list-admin at redhat.com] On
Behalf Of WipeOut
Sent: 10 February 2004 12:36
To: fedora-list at redhat.com
Subject: OT: Apache virtual servers permissions and users?
Basically following on from the "Apache permissions" discussion..
I have a number of namebased apache virtual servers on my web server..
Something that has always been a major problem is getting it to work
properly when it comes to allowing certain users to upload files and
manage the sites..
Apache uses a default working directory of /var/www..
So I created the following structure for my virtual servers..
Then in my httpd.conf I setup the name based virtual servers to use the
"html" dir for the web pages, the "logs" dir for logs and the "cgi-bin"
The only access to the server for adding and updating files is SSH or
SCP (I don't have FTP on the server at all)..
Now for the problem.. Whenever pages are updated on one of the sites I
have to go and make sure the permissions are correct using "root" to go
and reset the permissions..
There must be an easier way!! How do all these control panel systems get
I want to be able to say to user1, that he can manage domain1.com and
not have to always go in and sort out the permissions when he is
finished.. Same for user2 managing domain2..
What would be really nice is if user1 did not have access to domain2
eiather and was only alowed to play in his own domain..
If anyone knows how hosting providers get this setup I would really like
to know how its done.. The only how-to's I have found seem to tell you
how setup the apache virtual servers but not how to manage the users who
will be using and running the server and the permissions of those servers..
fedora-list mailing list
fedora-list at redhat.com
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3798 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20040210/4029c656/attachment-0002.bin
More information about the users