Re: ssl form post variables

2006-01-26 Thread JT Smith
m. Avoid writing your own parameter parsing logic you'll fail in so many different cases! Tom JT Smith wrote: Apache::RequestRec On Thu, 26 Jan 2006 08:51:51 +0100 Tom Schindl <[EMAIL PROTECTED]> wrote: Hi, how do you access those parameters: - CGI.pm - APR::Request - Apache::

ssl form post variables

2006-01-25 Thread JT Smith
Is there any difference between how form post variables are handled in modperl via http vs https? The reason I ask is because since switching from CGI/MP Registry to native MP2 handlers, some of my forms don't seem to work when running under SSL. However, without SSL everything is peachy keen. T

Re: go crazy with me

2005-12-19 Thread JT Smith
atrix.com/ It's a really solid networking framework, but its python based (not perl). On Dec 19, 2005, at 12:48 AM, JT Smith wrote: Yup, I've actually already done it that way with both Parallel::ForkManager in one instance and Proc::Queue as an alternative. I added in event

Re: go crazy with me

2005-12-18 Thread JT Smith
st archives and see what conclusions other people asking similar questions came to. I guess I hadn't considered that this question would have been asked before. On Mon, 19 Dec 2005 00:28:42 -0500 Perrin Harkins <[EMAIL PROTECTED]> wrote: On Sun, 2005-12-18 at 21:18 -0600, JT Smit

go crazy with me

2005-12-18 Thread JT Smith
Forget for a second what Apache is. Think outside the box with me. Go a little crazy. Apache 2 (especially with mod_perl) opens up a whole new world of possibilities. There are people turning apache into an FTP server, a chat server, a Mail server, a version control system, etc. I want to turn

Re: Status of mod_perl 2?

2005-12-18 Thread JT Smith
What is the current status of mod_perl 2? Is it considered stable enough for production use? Absolutely. We've built our CMS product around mod_perl 2 and have it running successfully on more than 15,000 implementations. It is certainly production ready. JT ~ Plain Black ph: 703-286-2525

Re: detecting scheme (http or https)

2005-12-08 Thread JT Smith
Ah. Thanks. It's a bit clunky, but it will work. Thanks for the idea. On Thu, 08 Dec 2005 10:09:17 -0500 Perrin Harkins <[EMAIL PROTECTED]> wrote: On Thu, 2005-12-08 at 09:02 -0600, JT Smith wrote: That's what I'm saying, mod_proxy IS proxying mod_perl. However, the HTTPS

Re: detecting scheme (http or https)

2005-12-08 Thread JT Smith
On Thu, 2005-12-08 at 08:56 -0600, JT Smith wrote: Similar question: Let's say you have a mod_proxy apache set up in front of a mod_perl apache. Is there any way to tell on mod_perl that the connection came through https on mod_proxy? Proxy it to a different virtual host on the ba

Re: detecting scheme (http or https)

2005-12-08 Thread JT Smith
Similar question: Let's say you have a mod_proxy apache set up in front of a mod_perl apache. Is there any way to tell on mod_perl that the connection came through https on mod_proxy? On Thu, 8 Dec 2005 12:27:41 +0100 Torsten Foertsch <[EMAIL PROTECTED]> wrote: On Thursday 08 December 2005 1

Re: mod_perl 2.0 $r->content and how to integrate GET, POST, multiple select data

2005-12-04 Thread JT Smith
I think this would get you what you want. my $r = shift; my %form; foreach ($r->param) { $form{$_} = $r->body($_) || $r->param($_); } On Sun, 04 Dec 2005 20:32:37 -0500 "Ashtanga Yogi" <[EMAIL PROTECTED]> wrote: In http://www.stonehenge.com/merlyn/LinuxMag/col66.html (a recent intro to mo

Re: Apache2::Reload problem

2005-12-03 Thread JT Smith
http://svn.apache.org/viewcvs.cgi/perl/modperl/trunk/lib/mod_perl2.pm?rev=280262&r1=191197&r2=280262 That was my commit that did that. And for that, you're a very bad man! =) JT ~ Plain Black ph: 703-286-2525 ext. 810 fax: 312-264-5382 http://www.plainblack.com I reject your reality, and su

Re: Apache2::Reload problem

2005-12-02 Thread JT Smith
http://svn.apache.org/viewcvs.cgi/perl/modperl/trunk/lib/mod_perl2.pm?rev=280262&r1=191197&r2=280262 so see if backing that out helps. if that doesn't help try removing Goeff, This is indeed it. Backing out that change fixes the problem. Thank you. Do I need to report this as a bug, or do yo

Apache2::Reload problem

2005-12-02 Thread JT Smith
I just upgraded my dev box to Apache 2.0.55 and mod_perl 2.0.2 from Apache 2.0.54 and mod_perl 2.0.1 (not a big upgrade). Anyway, since the upgrade when I have Apache2::Reload enabled I get an internal server error and in the logs it reports that it can't find mod_perl.pm (which is there). Here

Re: autogenerating virtual hosts

2005-11-30 Thread JT Smith
DocumentRoot => "$docroot", ErrorLog => "$docroot/error.log", CustomLog => ["$docroot/access.log", "combined"], }; } --8<-- Tom JT Smith wrote: The config files for

autogenerating virtual hosts

2005-11-30 Thread JT Smith
The config files for my application are very detailed. So detailed in fact that they contain everything necessary to generate a virtual host from the preloader script. The question is, can I do that? Is it possible to add virtual hosts on the fly during preload and, if so, how do I do it? Can an

Re: special proxy mp handler

2005-11-16 Thread JT Smith
You rock! Thank you very much. On Wed, 16 Nov 2005 15:58:40 -0800 "Philippe M. Chiasson" <[EMAIL PROTECTED]> wrote: JT Smith wrote: I'd like to write a handler that would serve big files out of a local cache but proxy everything else through to another server. The situa

special proxy mp handler

2005-11-16 Thread JT Smith
I'd like to write a handler that would serve big files out of a local cache but proxy everything else through to another server. The situation is that there is an extranet in the US, but a lot of folks in New Zealand need access to the file downloads. I don't want to replicate the whole installa

Re: 2 init handlers

2005-11-05 Thread JT Smith
Thanks. I tried adding multiple lines worth and that didn't seem to work, not sure why. I didn't try putting multiple on the same line. I'll give that a shot. sure, slather on as many as you want PerlInitHandler My::Foo My::Bar PerlInitHandler My::Baz and they'll all get run. provided nobo

2 init handlers

2005-11-05 Thread JT Smith
My modperl app has its own init handler, but I'd also like to use Apache2::Reload on my dev box so I don't have to continue restarting Apache. Is it possible to register 2 init handlers through the Apache config? If not, is it possible to register them through code? JT ~ Plain Black ph: 703-28