perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: [mp2 patch] accessors for User and Group directives in httpd.conf
Date Wed, 18 Jan 2006 19:23:33 GMT
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
MailChannels: Assured Messaging(TM)
The "Practical mod_perl" book

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message