#27 ModPythonAdapter - mp_table issue

closed-accepted
Jay Love
WebKit (58)
5
2002-12-08
2002-12-08
Jeff Simpson
No

I tried sending a couple messages via the SF message
util, but it bounced back. So I will just submit my
supposed fix here.

Here's a small one-liner I found to fix the
ModPythonAdapter.py for Webware running under Apache
2.0.40-4./Python-2.2.1/mod_python-3.0.1.

Here it is inserted on line 81 of the file (the third
commented line mentioning the hack

# Fix up the path
if not env.has_key('PATH_INFO'):
env['PATH_INFO']=req.path_info

# Hack fix for mod_python 3.x, convert
mp_table to dict
env = dict(env)

# Communicate with the app server
respdict = self.transactWithAppServer(env,
myInput, self.host, self.port)

Otherwise webware with the mod_python adapter
seems to be
working just great! Thanks for a cool product.

-Jeff

Discussion

  • Jay Love
    Jay Love
    2002-12-08

    Logged In: YES
    user_id=17912

    Thanks Jeff. I added your changes.

     
  • Jay Love
    Jay Love
    2002-12-08

    • assigned_to: nobody --> jslove
    • status: open --> closed-accepted