Philippe M. Chiasson wrote:
Stas Bekman wrote:
I've added accessors to Group and User directives in httpd.conf, so that
now you can get that info via:
my $user_id = Apache2::ServerUtil->user_id;
my $group_id = Apache2::ServerUtil->group_id;
the patch is inlined and attached (due to long lines).
Please let me know if you are happy with this approach or you want it to
be different. (including the test).
I am not sure why the test is called apache/deamon ?
oops, should have been apache/daemon. The reason I've chosen it, is
because all the relevant code in httpd-land lives in unixd (unix daemon).
Feel free to suggest a better name.
Another concern is windows - so if someone can try to build with this
patch on windows that would be great.
Patch looks good, at least on Linux/OSX it passes all tests 100%.
It certainly would be nice to get feedback for win32 platforms before
checking it in. Otherwise, I think it's a good idea.
It should probably return 0 and 0 on win32.
--
_____________________________________________________________
Stas Bekman mailto:[EMAIL PROTECTED] http://stason.org/
MailChannels: Assured Messaging(TM) http://mailchannels.com/
The "Practical mod_perl" book http://modperlbook.org/
http://perl.apache.org/ http://perl.org/ http://logilune.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]