Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

dbf2mysql parameter, WWWXXXAPC, wwwxxxAPC, How to unsubscrube from dategen spam, docmd.close 2585, WWWXXXDOCO, nu vot, dhcpd lease file "binding state", WWWXXXDOCO, how to setup procmail to process html2text

Links

XODOX
Impressum

#1: Which user to run?

Posted on 2008-04-12 18:06:47 by Florian Lindner

Hello,

in the default configurations I know apache runs as a dedicated users
(e.g. www). This user has no login shell set thus it is impossible to
login as this user and it usually has no home dir set either.
With my setup I have an (human) user hat has a login shell and
homedir. This users manages the data in the Document Root via SSH. The
problem that occurs within that setup is that files created by apache
are owned by user www thus read only to the human who manages these
files.

What is best way to cope with this problem?

Thanks,

Florian

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Report this message

#2: Re: Which user to run?

Posted on 2008-04-13 10:49:55 by Thomas Antony

> Hello,
>
> in the default configurations I know apache runs as a dedicated users
> (e.g. www). This user has no login shell set thus it is impossible to
> login as this user and it usually has no home dir set either.
> With my setup I have an (human) user hat has a login shell and homedir.
> This users manages the data in the Document Root via SSH. The problem
> that occurs within that setup is that files created by apache are owned
> by user www thus read only to the human who manages these files.
>
> What is best way to cope with this problem?

Hi,

For cgi's use suexec.
For php use mod_suphp or run php as cgi with mod_fcgid and suexec. The
combination mod_fcgid with suexec is faster then mod_suphp and you gain
more features with mod_fcgid. For example you can use mpm_worker with
php which you shouldn't use without mod_fcgid (or mod_fastcgi) because
some php modules aren't thread safe.
mod_suphp will be much easier to install, configure and manage compared
against mod_fcgid with suexec.
It reallay depends on your needs.


http://www.suphp.org/Home.html

http://fastcgi.coremail.cn/
http://sourceforge.net/projects/mod-fcgid/

http://httpd.apache.org/docs/2.2/en/suexec.html


regards,
Thomas

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Report this message