这是错误:
[Mon Mar 01 12:19:50 2010] [error] [client XXX.XXX.248.60] mod_python (pid=9528, interpreter='realpage.com', phase='PythonHandler', handler='django.core.handlers.modpython'): Application error
[Mon Mar 01 12:19:50 2010] [error] [client XXX.XXX.248.60] ServerName: 'realpage.dom'
[Mon Mar 01 12:19:50 2010] [error] [client XXX.XXX.248.60] DocumentRoot: '/htdocs'
[Mon Mar 01 12:19:50 2010] [error] [client XXX.XXX.248.60] URI: '/'
[Mon Mar 01 12:19:50 2010] [error] [client XXX.XXX.248.60] Location: '/'
[Mon Mar 01 12:19:50 2010] [error] [client XXX.XX.248.60] Directory: None
[Mon Mar 01 12:19:50 2010] [error] [client XXX.XXX.248.60] Filename: '/htdocs'
[Mon Mar 01 12:19:50 2010] [error] [client XXX.XXX.248.60] PathInfo: '/'
[Mon Mar 01 12:19:50 2010] [error] [client XXX.XXX.248.60] Traceback (most recent call last):
[Mon Mar 01 12:19:50 2010] [error] [client XXX.XXX.248.60] File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1537, in HandlerDispatch\n default=default_handler, arg=req, silent=hlist.silent)
[Mon Mar 01 12:19:50 2010] [error] [client XXX.XXX.248.60] File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1229, in _process_target\n result = _execute_target(config, req, object, arg)
[Mon Mar 01 12:19:50 2010] [error] [client XXX.XXX.248.60] File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1128, in _execute_target\n result = object(arg)
[Mon Mar 01 12:19:50 2010] [error] [client XXX.XXX.248.60] File "/usr/lib/python2.5/site-packages/django/core/handlers/modpython.py", line 228, in handler\n return ModPythonHandler()(req)
[Mon Mar 01 12:19:50 2010] [error] [client XXX.XXX.248.60] File "/usr/lib/python2.5/site-packages/django/core/handlers/modpython.py", line 220, in __call__\n req.write(chunk)
[Mon Mar 01 12:19:50 2010] [error] [client XXX.XX.248.60] IOError: Write failed, client closed connection.
请!我相信您需要更多信息才能找到错误,请告诉我什么以及如何获得它。
每次都抛出错误!
正如消息所解释的,当客户端关闭连接后处理程序尝试将数据写回客户端时,就会发生这种情况。这可能发生在客户端的客户端用户在等待响应之前按下重新加载。当处理程序试图写回比响应内容长度指定的多得多的数据时,也可能发生这种情况。