Re: [us...@httpd] dynamic mpm-itk

2010-11-15 Thread Igor Galić
- James Devine fxmul...@gmail.com wrote: I wrote a module that runs prior to itk which checks for this special case and sets both the uid and gid, this seems to run fairly nicely So you wrote a hack to stand on the shoulders of another hack? Nce ;) i -- Igor Galić Tel: +43 (0) 664

Re: [us...@httpd] dynamic mpm-itk

2010-11-12 Thread James Devine
I wrote a module that runs prior to itk which checks for this special case and sets both the uid and gid, this seems to run fairly nicely On Wed, Nov 10, 2010 at 12:47 PM, James Devine fxmul...@gmail.com wrote: I'm trying to get all content (php, perl, cgi etc) to run as the intended user,

Re: [us...@httpd] dynamic mpm-itk

2010-11-10 Thread James Devine
vhost per user isn't something I would be able to do, what about a module that runs prior to itk if thats possible to preset the uid 2010/10/26 Igor Galić i.ga...@brainsware.org: - James Devine fxmul...@gmail.com wrote: Is there a way to set the AssignUserId values associated with mpm-itk

Re: [us...@httpd] dynamic mpm-itk

2010-11-10 Thread Tom Evans
On Wed, Nov 10, 2010 at 4:02 PM, James Devine fxmul...@gmail.com wrote: vhost per user isn't something I would be able to do, what about a module that runs prior to itk if thats possible to preset the uid Not without significant hacking. From mpm-itk homepage: apache2-mpm-itk (just mpm-itk

Re: [us...@httpd] dynamic mpm-itk

2010-11-10 Thread James Devine
well what I'm thinking of is to not set the uid/gid for a particular vhost and have another module run prior to when ITK would set the uid and set the UID/GID myself based on the URI On Wed, Nov 10, 2010 at 9:36 AM, Tom Evans tevans...@googlemail.com wrote: On Wed, Nov 10, 2010 at 4:02 PM, James

Re: [us...@httpd] dynamic mpm-itk

2010-11-10 Thread James Devine
well this method doesn't appear to work, setting the uid prior to itk causes itk to fail out while trying to set the uid itself On Wed, Nov 10, 2010 at 9:52 AM, James Devine fxmul...@gmail.com wrote: well what I'm thinking of is to not set the uid/gid for a particular vhost and have another

Re: [us...@httpd] dynamic mpm-itk

2010-11-10 Thread Nick Kew
On Wed, 10 Nov 2010 10:48:48 -0700 James Devine fxmul...@gmail.com wrote: well this method doesn't appear to work, setting the uid prior to itk causes itk to fail out while trying to set the uid itself What do you expect to do that you couldn't do with cgi/suexec or fastcgi? mod_privileges

Re: [us...@httpd] dynamic mpm-itk

2010-11-10 Thread James Devine
I'm trying to get all content (php, perl, cgi etc) to run as the intended user, which works fine with mpm-itk for individual vhosts, but a few of those vhosts implement user directories which should be associated with different users On Wed, Nov 10, 2010 at 11:07 AM, Nick Kew n...@webthing.com

[us...@httpd] dynamic mpm-itk

2010-10-26 Thread James Devine
Is there a way to set the AssignUserId values associated with mpm-itk based on the URI? Such as if a user accesses http://domain.tld/~username These users are in ldap so I would need to do some sort of external processing such as through a rewritemap or mod_perl

Re: [us...@httpd] dynamic mpm-itk

2010-10-26 Thread Igor Galić
- James Devine fxmul...@gmail.com wrote: Is there a way to set the AssignUserId values associated with mpm-itk based on the URI? Such as if a user accesses http://domain.tld/~username These users are in ldap so I would need to do some sort of external processing such as through a