On Sun, 5 Feb 2006 23:01:25 +0800
Ken Perl <[EMAIL PROTECTED]> wrote:
> sub handler {
> my $r = shift;
> my $s = Apache2::ServerUtil->server;
>
> $s->dir_config('WRoot');
> $r->dir_config('WConfig');
> }
>
> which module api doc that I could find description about the two
> dir_config? I want to know more info about them.
You'll want to look at Apache2::RequestUtil and Apache2::ServerUtil.
These are the links:
http://perl.apache.org/docs/2.0/api/Apache2/RequestUtil.html#C_dir_config_
and
http://perl.apache.org/docs/2.0/api/Apache2/ServerUtil.html#C_dir_config_
You might want to also look at my new module ModPerl::ParamBuilder
that makes it trivial to use custom Apache directives. Here is a
tutorial on how to use it:
http://www.revsys.com/writings/modperl/ModPerl-ParamBuilder/
Hope these help!
---------------------------------
Frank Wiles <[EMAIL PROTECTED]>
http://www.wiles.org
---------------------------------