
stas at apache
Jan 18, 2006, 1:55 PM
Post #1 of 1
(1008 views)
Permalink
|
|
svn commit: r370276 - /perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/ServerUtil.pod
|
|
Author: stas Date: Wed Jan 18 13:55:52 2006 New Revision: 370276 URL: http://svn.apache.org/viewcvs?rev=370276&view=rev Log: document user_id and group_id class methods Modified: perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/ServerUtil.pod Modified: perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/ServerUtil.pod URL: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/ServerUtil.pod?rev=370276&r1=370275&r2=370276&view=diff ============================================================================== --- perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/ServerUtil.pod (original) +++ perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/ServerUtil.pod Wed Jan 18 13:55:52 2006 @@ -382,6 +382,37 @@ + + +=head2 C<group_id> + +Get the group id corresponding to the C<Group> directive in +F<httpd.conf>: + + $gid = Apache2::ServerUtil->group_id; + +=over 4 + +=item obj: C<Apache2::ServerUtil> (class name) + +=item ret: C<$gid> ( integer ) + +On Unix platforms returns the gid corresponding to the value used in +the C<Group> directive in F<httpd.conf>. On other platforms returns 0. + +=item since: 2.0.03 + +=back + + + + + + + + + + =head2 C<is_perl_option_enabled> check whether a server level C<PerlOptions> flag is enabled or not. @@ -833,6 +864,33 @@ or $r->set_handlers(PerlCleanupHandler => undef); + + + + +=head2 C<user_id> + +Get the user id corresponding to the C<User> directive in +F<httpd.conf>: + + $uid = Apache2::ServerUtil->user_id; + +=over 4 + +=item obj: C<Apache2::ServerUtil> (class name) + +=item ret: C<$uid> ( integer ) + +On Unix platforms returns the uid corresponding to the value used in +the C<User> directive in F<httpd.conf>. On other platforms returns 0. + +=item since: 2.0.03 + +=back + + + + --------------------------------------------------------------------- To unsubscribe, e-mail: docs-cvs-unsubscribe [at] perl For additional commands, e-mail: docs-cvs-help [at] perl
|