|
Adrian Immler
mod_python-maillist at uebergeek.de
Thu Apr 14 08:54:52 EDT 2005
hello !
i have apache configured with these lines:
<Directory /....../htdocs/mp>
AddHandler mod_python .py
PythonHandler init
PythonDebug On
</Directory>
<Directory /....../htdocs/music>
SetHandler mod_python
PythonHandler mod_python.publisher
PythonDebug On
</Directory>
somehow in /music i cant access the POST variables but in /mp i can, with
absolutely the same code:
def function(req):
req.content_type = "text/html"
fs = FieldStorage(req)
for key in fs.keys():
req.write( key + ": "+ fs.getfirst(key) + "<br>\n" )
has this something to do with AddHandler and SetHandler, if yes, how can
i achive it that it also works with SetHandler ?
thanks for feedback in advance !
adrian
|