Sorry for any duplication of this post on SO:

I have a python Flask wsgi API in which I process incoming URL payloads of 
varied length. I believe, but am not absolutely sure, that I may have run 
into a limitation of URL size.

For a particular payload (> 6K characters), it runs fine locally using the 
Python web server, but when I move it to Apache (on both OS X and RHEL 6), 
I get a 404 error @ the browser. According to everything I've seen for too 
large of payload, I should be getting a 413 or 414 error. Please note, that 
for shorter URLs than this, I have no problems running them in Apache.

I've combed my Apache logs and all I can find is the error that "Target 
WSGI script not found or unable to stat." Everything I've Googled with this 
particular error is indicative of an application error, and as noted, I do 
know my wsgi configuration works. It just seems to break for larger URLs, 
which makes me think this may be an issue with mod_wsgi.

FWIW: my VirtualHost config is:

<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>

Any suggestions, short of shortening the URLs, would be most welcome.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to