Re: [users@httpd] root perms / rewritemap prg / module system()

2016-06-24 Thread Ben RUBSON
> On 24 Jun 2016, at 16:24, Stormy wrote: > > At 03:53 PM 6/24/2016 +0200, Ben RUBSON wrote: >> On 2016-06-08 at 14:24, Nick Kew wrote : >> > On Wed, 2016-06-08 at 08:01 -0400, Eric Covener wrote: >> >> On Sat, Apr 16, 2016 at 6:00 PM, Ben RUBSON wrote: >> >>> Then my question is, could it be po

Re: [users@httpd] root perms / rewritemap prg / module system()

2016-06-24 Thread Stormy
At 03:53 PM 6/24/2016 +0200, Ben RUBSON wrote: On 2016-06-08 at 14:24, Nick Kew wrote : > On Wed, 2016-06-08 at 08:01 -0400, Eric Covener wrote: >> On Sat, Apr 16, 2016 at 6:00 PM, Ben RUBSON wrote: >>> Then my question is, could it be possible ? >> >> You would need your own daemon launched dur

Re: [users@httpd] root perms / rewritemap prg / module system()

2016-06-24 Thread Ben RUBSON
On 2016-06-08 at 14:24, Nick Kew wrote : > On Wed, 2016-06-08 at 08:01 -0400, Eric Covener wrote: >> On Sat, Apr 16, 2016 at 6:00 PM, Ben RUBSON wrote: >>> Then my question is, could it be possible ? >> >> You would need your own daemon launched during an early hook (like >> post_config). You wo

Re: [users@httpd] root perms / rewritemap prg / module system()

2016-06-08 Thread Nick Kew
On Wed, 2016-06-08 at 08:01 -0400, Eric Covener wrote: > On Sat, Apr 16, 2016 at 6:00 PM, Ben RUBSON wrote: > > Then my question is, could it be possible ? > > You would need your own daemon launched during an early hook (like > post_config). You wouldn't be able to respond [directly] to request

Re: [users@httpd] root perms / rewritemap prg / module system()

2016-06-08 Thread Ben RUBSON
> On 8 jun 2016 at 14:01, Eric Covener : > > On Sat, Apr 16, 2016 at 6:00 PM, Ben RUBSON wrote: >> Then my question is, could it be possible ? > > You would need your own daemon launched during an early hook (like > post_config). You wouldn't be able to respond [directly] to requests, > you'd n

Re: [users@httpd] root perms / rewritemap prg / module system()

2016-06-08 Thread Eric Covener
On Sat, Apr 16, 2016 at 6:00 PM, Ben RUBSON wrote: > Then my question is, could it be possible ? You would need your own daemon launched during an early hook (like post_config). You wouldn't be able to respond [directly] to requests, you'd need to reach out over something like a pipe the way rew

[users@httpd] root perms / rewritemap prg / module system()

2016-04-16 Thread Ben RUBSON
Hello, When Apache is started from root user (as all services are), even if it then switches to the configured user:group, the rewritemap programs run under root user. I use this "trick" under some circumstances to run some tasks under other identities from a rewritemap program.pl : system("su