On Oct 8, 5:46 pm, "Graham Dumpleton" <[EMAIL PROTECTED]>
wrote:
> Hmmm, the stack trace isn't accurate and also missing debug
> information so can't see call path though mod_wsgi nor see what lines
> in Apache code problem occurs at.
I'll try to find out from our server admin if I can get a debu
Don't know if this would make any sense but can you try to put global
myloc in the def application ? My simple example did not work without
the global thing
x = 1
def application(environ, start_response):
global x
x = x + 1
output = str(x)
start_response('200 OK', [('Content-type'
2008/10/9 Ants Aasma <[EMAIL PROTECTED]>:
>
> Hi,
>
> I'm getting a segfault when I'm using POST together with SSL client
> authentication. GET requests work fine and SSL without client
> authentication also works. This is on RHEL5, with mod_wsgi 2.3, Apache
> 2.2.3. I'm getting the following back
Hi,
I'm getting a segfault when I'm using POST together with SSL client
authentication. GET requests work fine and SSL without client
authentication also works. This is on RHEL5, with mod_wsgi 2.3, Apache
2.2.3. I'm getting the following backtrace:
#0 0x08cc3b08 in ?? ()
#1 0x0011750f in apr_b
2008/10/7 Thomas Guettler <[EMAIL PROTECTED]>:
>
> Hi,
>
> [Mon Oct 06 15:08:52 2008] [notice] Apache/2.2.4 (Linux/SUSE)
> mod_ssl/2.2.4 OpenSSL/0.9.8e mod_wsgi/2.3 Python/2.5.1 configured --
> resuming normal operations
> [Mon Oct 06 15:09:01 2008] [crit] [Mon Oct 06 15:09:01 2008] file
> http_fi
Here's a simple paste app that displays the environment. Just start it
and then hit it with any URL. I used: http://localhost:8080/ñ/ó?q=©
In python-2.x:
PATH_INFO is a byte string
QUERY_STRING becomes a urlencoded byte string
REQUEST_URI is not present
This is the same behaviour as mod_w
On 07-10-2008, Graham Dumpleton wrote:
>
> 2008/10/6 William Dode <[EMAIL PROTECTED]>:
>>
>> On 04-10-2008, Graham Dumpleton wrote:
>>>
>>> BTW, if I am right, you would see the behaviour you expect to see if you
>>> use:
>>>
>>> WSGIApplicationGroup %{GLOBAL}
>>
>> More or less, it give me alt
Yes, this is exactly what I was looking for, a combination of the
second approach on the referenced wiki page and a bit of thread magic
just might do the trick. Thanks !
On Oct 7, 5:15 pm, "Graham Dumpleton" <[EMAIL PROTECTED]>
wrote:
> 2008/10/8 AchipA <[EMAIL PROTECTED]>:
>
>
>
> > I'm fairly n