httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Montague <>
Subject Re: [users@httpd] Fork as 'REMOTE_USER' instead of 'User'
Date Tue, 28 Feb 2012 13:32:44 GMT
On February 28, 2012 3:32 , =?ISO-8859-1?Q?Micka=EBl_CAN=C9VET?= 
<> wrote:
> I'd like to know if there is a way to tell apache httpd to fork as
> 'REMOTE_USER' instead of 'User' variable defined in httpd.conf.
> The idea is to export a filesystem through HTTP (Dav), and instead of
> giving apache's user read/write access on the files and play
> with .htaccess for each folder, let apache fork as the authenticated
> user so that I can use POSIX rights to give access.

What you're talking about is called "Privilege separation".  Please see 
the wiki page on the subject, which goes into the topic in detail and 
discusses the difficulties and various potential solutions:

   Mark Montague

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message