Graham Dumpleton
graham.dumpleton at gmail.com
Mon Jul 23 18:18:49 EDT 2007
What is the mod_python configuration you are using in Apache configuration file. Ie., PythonHandler/SetHandler/AddHandler etc? Just want to confirm you are in fact using mod_python. Is your CGI program small enough that you can post it as an example of what you think isn't working rather than us having to guess as to exactly what the script does? Preferably create a small as possible example script which shows just the problem. Have you ever considered changing your CGI script to be a WSGI application? CGI script support in mod_python has various limitations and rewriting it as a WSGI application would be a better outcome in the long run. Graham On 24/07/07, Gambit <gambit at alpenjodel.de> wrote: > Hi, > > I'm having a hard time getting a CGI script to run under mod_python. > Basically the problem seems to be get variables aren't accessible using > cgi.FieldStorage() under mod_python the way they are under plain old cgi. > > I seriously doubt I'm the first one with this problem but I haven't > found any solution. > > os.environ['QUERY_STRING'] contains the correct query string so they > aren't been stripped. > > Is this documented somewhere? Any known workarounds? > > Thanks > > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://mailman.modpython.org/mailman/listinfo/mod_python >
|