[mod_python] The DOs and DONTs of mod_python: one problem found

Nic Ferrier nferrier at tapsellferrier.co.uk
Tue Oct 18 21:31:00 EDT 2005


"Graham Dumpleton" <grahamd at dscpl.com.au> writes:

> The other alternative one can often use is:
>
>   req.hlist.directory
>
> This will be set to the pathname of the directory for which the
> PythonHandler directive (or other handler dependent on phase) was
> defined. This one is good to use where you have numerous applications
> hosted in the one server, each with their own PythonHandler directive.
> In essence it gives you a local root for that application.

Yeah... nice one.

Things like this should be in the mod_python document.


Nic


More information about the Mod_python mailing list