Apache->request

Oliver Gorwits oliver.gorwits at oucs.ox.ac.uk
Mon Jan 7 00:56:02 PST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Tony,

Edwardson, Tony wrote:
| Anyone know how to get hold of a request object using mod_perl-1.30 ?

Is this a mod_perl handler, or plain CGI running under mod_perl?

If the latter, then set the PerlResponseHandler in the apache config to
be Apache::Registry, and then just shift() at the top of the CGI script
to get the request object.

If the former, then the request object is the first parameter passed to
your handler() subroutine.

(this is all from memory, so I hope it's right!)

Good resource:
http://perl.apache.org/docs/1.0/guide/index.html

cheers,
olly.
- --
Oliver Gorwits, Network and Telecommunications Group,
Oxford University Computing Services
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHgeki2NPq7pwWBt4RAlZWAKCLE8yQ/6Cfq2u2aZdgmxVLewQlCwCfYS0S
wccHATb1B8Kd3roBK3A4DqQ=
=QPEK
-----END PGP SIGNATURE-----


More information about the MiltonKeynes-pm mailing list