in reply to Re: How to get the value of <Location> directive (mod_perl)?
in thread How to get the value of <Location> directive (mod_perl)?
It looks like Apache2::Directive may help, but I still need to know what the location is:<Location /foo> SetHandler perl-script PerlSetVar NAME "/foo" PerlHandler My::Apache::Handler </Location>
use Apache2::Directive (); my $tree = Apache2::Directive::conftree(); my $node = $tree->lookup('Location', '/foo/');
|
|---|