[mod_python] Document root

Diener, Edward Edward.Diener at loyaltyworks.com
Wed May 26 17:05:13 EDT 2004


The document root is returned by the req.document_root() function. But
it seems I should be able to obtain the document root without needing a
request object, since such a value applies to Apache itself. Is there a
way of getting Apache internal values ? I do see the Apache functions
but the explanation of what some of these return, such as config_tree(),
seem pretty sparse and I have the feeling that such values are available
somehow. Does anybody know how I might obtain the document root without
a request object, as well as access to other Apache internal values ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://modpython.org/pipermail/mod_python/attachments/20040526/a50c2d87/attachment.html


More information about the Mod_python mailing list