How does Apache::RAW_ARGS work?
[prev]
[thread]
[next]
[Date index for 2004/12/12]
--nextPart1402854.SS1B7aM67v
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hi,
I am trying to get a container directive working. The code looks this
my @directives=3D(
...
{
name =3D> '<ClickPathUAExceptions',
func =3D> __PACKAGE__ . '::ClickPathUAExceptions',
req_override =3D> Apache::RSRC_CONF,
args_how =3D> Apache::RAW_ARGS,
errmsg =3D> '<ClickPathUAExceptions>
name1: regexp1
name2: regexp2
=2E..
</ClickPathUAExceptions>',
},
=2E..
);
Apache recognizes the container correctly because it processes statements=20
after the container but the ClickPathUAExceptions function is called with=20
only one arg that contains the closing '>'.
How do I get the container contents?
One other note, I tried "Apache::RSRC_CONF | Apache::OR_EXEC_ON_READ" but g=
ot=20
an "unknown Apache:: constant OR_EXEC_ON_READ=20
at /usr/lib/perl5/vendor_perl/5.8.5/i586-linux-thread-multi/ModPerl/Const.p=
m=20
line 51." while=20
use Apache::Const -compile =3D> qw(DECLINED OK
OR_ALL RSRC_CONF OR_EXEC_ON_READ
TAKE1 RAW_ARGS NO_ARGS);
What is wrong with that?
This is mod_perl-2.0.0-RC1.
Torsten
--nextPart1402854.SS1B7aM67v
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQBBvLV4wicyCTir8T4RAhtsAJ4zBJCpnuf+ABaH9lzTwDl1/OwzgACgoV9E
QEyzYRUAswDcuvO7M39nsIY=
=L5en
-----END PGP SIGNATURE-----
--nextPart1402854.SS1B7aM67v--
 |
How does Apache::RAW_ARGS work?
Torsten Foertsch 21:17 on 12 Dec 2004
|