Why is r->handler a garbled string?

2008-12-29 Thread John David Duncan
Hi, I have a module that runs correctly on some platforms (e.g. Apache 2.2.8 on Mac OS X 10.5) but not on others (e.g. Apache 2.2.9 on OpenSolaris). The problem revolves around the "handler name check" in a handler: if(strcmp(r->handler,my_name)) return DECLINED; On the problem machine

Re: Why is r->handler a garbled string?

2008-12-29 Thread Sander Temme
On Dec 29, 2008, at 9:06 PM, John David Duncan wrote: I have a module that runs correctly on some platforms (e.g. Apache 2.2.8 on Mac OS X 10.5) but not on others (e.g. Apache 2.2.9 on OpenSolaris). <..> [Mon Dec 29 20:46:25 2008] [debug] handlers.cc(46): r->handler is "P \xfa&\b\x0c"

Re: Why is r->handler a garbled string?

2008-12-29 Thread John David Duncan
On Dec 29, 2008, at 9:20 PM, Sander Temme wrote: On Dec 29, 2008, at 9:06 PM, John David Duncan wrote: I have a module that runs correctly on some platforms (e.g. Apache 2.2.8 on Mac OS X 10.5) but not on others (e.g. Apache 2.2.9 on OpenSolaris). <..> [Mon Dec 29 20:46:25 2008] [debug

Re: Why is r->handler a garbled string?

2008-12-29 Thread Sander Temme
On Dec 29, 2008, at 9:28 PM, John David Duncan wrote: Interesting. What's your locale? echo $LANG in the shell that starts Apache? It's en_US.UTF-8 on both of those machines. Yeah, that seems to be the default on my Mac. I also just tried starting apache on the Solaris machine with LAN