perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
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 mailto:stas@stason.org  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: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message