Re: Multiple versions of mod_perl?

2007-03-06 Thread Jonathan Vanasco
On Mar 6, 2007, at 7:00 PM, Perrin Harkins wrote: What version of "better" is that? It sounds like my worst nightmare! You're running an ancient and unsupported version of mod_perl. You really need to upgrade. I'm not sure you can expect two different versions of AuthCookie to cooperate eith

Re: Multiple versions of mod_perl?

2007-03-06 Thread Perrin Harkins
On 3/6/07, Alex Beamish <[EMAIL PROTECTED]> wrote: I could upgrade the first server, but even better (that is, more convenient) than that would be to have both Apache::AuthCookie and Apache2::AuthCookie, and both mod_perl versions installed. What version of "better" is that? It sounds like my

Multiple versions of mod_perl?

2007-03-06 Thread Alex Beamish
Hi, I have a test system that has Apache/2.0.40 and mod_perl 1.99.07-5 on it. Everything works fine -- as far as I understand Apache. This server is paired with another test server that proxies most requests back, and the other server is running Apache/2.2.2 and mod_perl (I believe it's 2.0.2-6.1

Re: Converting a String of bits into a binary number in perl?

2007-03-06 Thread Perrin Harkins
Guys, would you mind moving this question to a different forum? It's not really related to mod_perl. There are some resources for general perl help listed here: http://perl.apache.org/docs/offsite/other.html - Perrin

Re: Converting a String of bits into a binary number in perl?

2007-03-06 Thread Deepak Mallya
the final value should be a binary value(datatype) not a string of binary digits. eg:- if we do $a=0b."100" this becomes a string and when we take the length($a) it gives us the size in bytes of a integer (here it would be 4 bytes) but if we do $a=0b100 its a binary

Re: Converting a String of bits into a binary number in perl?

2007-03-06 Thread David Nicol
$a="100"; I want to convert this into perl's interpretation of binary no ie $a=0b100 # perl -wple 's/\b([01]+)\b/"0b$1"/gee' 100 4 1001010101 12117 the powers of 2 are 1, 10, 100, 1000, 1, 10 the powers of 2 are 1, 2, 4, 8, 16, 32 -- "Big discoveries are protected by public incre

RE: Apache2.2 - openssl 0.9.8d - modperl 2.03 unpredictable timeouts during requests

2007-03-06 Thread Adam Prime x443
This may be totally unrelated, but I had a problem that I ultimately solved by setting up a PerlChildInit handler to open DB connections for each child explicitly. For some reason it seemed like only one connection was being opened to connect to the MSSQL DB and that single connection was somehow

Re: [mp2] aborting a file upload

2007-03-06 Thread Issac Goldstand
I'm not sure it's possible to abort the read. I think the server must finish the read before the client will accept any response data. IIRC, discard_request_body still performs a read on the socket; it just doesn't do anything with the read data. Issac Matt Williamson wrote: > I am trying to