Lolo
ernieball_slinky at yahoo.fr
Fri Feb 11 09:04:45 EST 2005
Hello, I'm trying to solve a strange error with mod_python. My configuration : - Debian GNU/Linux, testing - Apache/2.0.52 - mod_python/3.1.3 - Python/2.3.4 I use mod_python.psp Handler. Here is my Apache config: Alias /tc/ "/home/web/www/psp/tc/" <Directory "/home/web/www/psp/tc/"> AllowOverride None AddHandler mod_python .psp PythonHandler mod_python.psp DirectoryIndex /support/NotFoundError.psp PythonPath "sys.path+['/home/web/www/psp/py/']" </Directory> I wrote a Python Server Page with html form, when i submit the form i have a POST and GET requests in my apache log and IOError from mod_python. Here is an extract of my apache errorlog and accesslog : errorlog: Fri Feb 11 14:28:01 2005] [error] [client 127.0.0.1] PythonHandler mod_python.psp: Traceback (most recent call last):, referer: http://localhost/tc/Queries.psp [Fri Feb 11 14:28:01 2005] [error] [client 127.0.0.1] PythonHandler mod_python.psp: File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 299, in HandlerDispatch\n result = object(req), referer: http://localhost/tc/Queries.psp [Fri Feb 11 14:28:01 2005] [error] [client 127.0.0.1] PythonHandler mod_python.psp: File "/usr/lib/python2.3/site-packages/mod_python/psp.py", line 297, in handler\np.run(), referer: http://localhost/tc/Queries.psp [Fri Feb 11 14:28:01 2005] [error] [client 127.0.0.1] PythonHandler mod_python.psp: File "/usr/lib/python2.3/site-packages/mod_python/psp.py", line 208, in run\n exec code in global_scope, referer: http://localhost/tc/Queries.psp [Fri Feb 11 14:28:01 2005] [error] [client 127.0.0.1] PythonHandler mod_python.psp: File "/home/web/www/psp/tc/Queries.psp", line 745, in ?, referer: http://localhost/tc/Queries.psp [Fri Feb 11 14:28:01 2005] [error] [client 127.0.0.1] PythonHandler mod_python.psp: IOError: Write failed, client closed connection., referer: http://localhost/tc/Queries.psp accesslog: 127.0.0.1 - - [11/Feb/2005:14:28:01 +0100] "POST /synopsis/Queries.psp HTTP/1.1" 200 28448 "http://localhost/tc/Queries.psp" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050110 Firefox/1.0 (Debian package 1.0+dfsg.1-2)" 127.0.0.1 - - [11/Feb/2005:14:28:01 +0100] "GET /synopsis/Queries.psp HTTP/1.1" 500 16073 "http://localhost/tc/Queries.psp" "Mozilla/5.0 (X11; U; Linux i686; en-US;rv:1.7.5) Gecko/20050110 Firefox/1.0 (Debian package 1.0+dfsg.1-2)" Could anybody try to help me or some ideas ? Thanks, Lolo Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
|