Re: Apache and multiple Virtual Hosts best practices

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

 



On Fri, 19 Nov 2004, Eric Wagar wrote:

> I have an Apache web server with a few virtual hosts.  The ftp is handled by 
> proftpd, and I have multiple users defined.  These users have their own uid 
> and gid.  The problem comes when Apache is uid apache and need to write to 
> the said directory.
> 
> I am wondering what other people have done to deal with this.  Do people just 
> set all the ftp users uid/gid to the same as the Apache uid/gid on the 
> system?  Obviously this would be an ok solution because apache uid/gid != 
> root.
> 
> What are the other ways you guys have dealth with this?

You can add apache to a group/the groups that own the directory in 
question, you could change the group ownership of the directory to the 
apache group, and make it group writable.  Or you could create a group to 
own the directory, and make all necessary users (including apache) members 
of that group.

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit 
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a 
message to:

site-update-request@xxxxxxxxxxxxxxxxx

with a message of: 

subscribe


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

  Powered by Linux