[mod_python] apache._server.get_options() Problem in 3.3

Graham Dumpleton graham.dumpleton at gmail.com
Sat Mar 24 20:28:50 EST 2007


On 25/03/07, Alex Greif <alex.greif at gmail.com> wrote:
> Hi,
> in 3.2.10 the following worked well:
> apache._server.get_options()
>
> is there an equivalent in 3.3? I tried
> apache.server.get_options()
> apache.mp_server.get_options()
> ... but had no luck.

Officially made public under the name 'apache.main_server' in 3.3.
Previously it was part of private API and shouldn't have been getting
used, plus was giving incorrect results anyway. See documentation:

http://www.modpython.org/live/current/doc-html/pyapi-apmem.html

Graham


More information about the Mod_python mailing list