Apache / mod_wsgi中的URL长度问题

我有一个python的wsgi API,我在其中处理不同长度的传入URL负载。 我相信,但不是绝对肯定的是,我可能遇到了URL大小的限制。

对于特定的有效负载(> 6K字符),它使用Python Web服务器在本地运行正常,但是当我将它移到Apache(在OS X和RHEL 6上)时,我在浏览器中遇到了404错误。 根据我所见过的有效载荷太大的一切,我应该得到413或414的错误。 请注意,对于比这更短的URL,我没有任何问题在Apache中运行。

我梳理了我的Apache日志,所有我能find的错误是“目标WSGI脚本未find或无法统计”。 所有我用谷歌search这个特定的错误是一个应用程序错误的指示,如上所述,我知道我的wsgiconfiguration工程。 它似乎打破了较大的url,这让我觉得这可能是mod_wsgi的一个问题。

我的VirtualHostconfiguration是:

<VirtualHost *:80> Alias /cardiocatalogqt /Library/WebServer/extjs/cardioCatalogQT <Location /cardiocatalogqt> Order deny,allow Allow from all </Location> WSGIApplicationGroup %{GLOBAL} WSGIDaemonProcess rest_api user=gregsilverman threads=5 WSGIScriptAlias /api /Library/WebServer/wsgi/rest_api/rest_api.wsgi WSGIPassAuthorization On <Location /api> Order deny,allow Allow from all </Location> </VirtualHost> 

任何build议,缩短url短,将是最受欢迎的。