[mod_python] lookup_uri

Roger Binns rogerb at rogerbinns.com
Fri May 11 14:01:02 EDT 2007


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

I wrote a week ago about wanting to do subrequests but couldn't find
anything in modpython beyond internal_redirect.

Anyway it turns out that Apache really does have exactly what I need and
they are called subrequests.  The actual method I want to call is
lookup_method_uri (assuming it copies authentication information from
the parent request).

modpython seems not to have this family of methods.  The Perl equivalent
of modpython does:

  http://perl.apache.org/docs/2.0/api/Apache2/SubRequest.html

Any advice on how to get access to these methods?  I'm happy to do any
of the following:

  * Modify modpython source code
  * Abuse ctypes in some way
  * Write an additional library to be loaded accessible from python code

This topic seems to have come up before without apparent resolution:

http://www.modpython.org/pipermail/mod_python/2006-September/021994.html
http://www.mail-archive.com/[email protected]/msg02594.html

Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGRK9emOOfHg372QQRAh5kAJ0THpNXpYbBvyGya988Vy2ecjmAcQCffv44
nqc9qmWH4I1rGAUVzWyHsEM=
=KbRQ
-----END PGP SIGNATURE-----


More information about the Mod_python mailing list