[mod_python] get_options() problem

Daniel West dwmp at opti.cgi.net
Fri Jan 9 00:23:11 EST 2004

I found the DocumentRoot value I was after.  Duh.  req.document_root().

However, that server.get_options() probably needs some looking into.


At 12:15 AM 1/9/2004 -0600, you wrote:

>According to the 3.1.2b documentation there should be a get_options() 
>method on the server object.  When trying to access it I get a traceback.
>code (under psp):
>req.log_error('options: %s' % `req.server.get_options()`)
>AttributeError: 'mp_server' object has no attribute 'get_options'
>Does the server.get_options() method no longer exist and is the 
>documentation (section just out of date?
>I'm trying to get to the DocumentRoot value for the virtual server 
>handling the current request and was hoping I might find it in there.
>Mod_python mailing list
>Mod_python at modpython.org

More information about the Mod_python mailing list