Re: is apache using modperl?

2005-09-25 Thread Alexander Charbonnet
Rename your Perl binary and see if it still works. :-) On Sunday 25 September 2005 07:42 pm, [EMAIL PROTECTED] wrote: > Hi. > > I've got the following script, which I picked up off the apache mod_perl > pages, running. > > /~~~ > #!/usr/bin/perl > > # Script: vegetables1.pl > use

is apache using modperl?

2005-09-25 Thread luke
Hi. I've got the following script, which I picked up off the apache mod_perl pages, running. /~~~ #!/usr/bin/perl # Script: vegetables1.pl use CGI::Pretty ':standard'; print header, start_html('Vegetables'), h1('Eat Your Vegetables'), ol( li('peas'),

Re: Setting %ENV from modperl handler

2005-09-25 Thread Jie Gao
On Sun, 25 Sep 2005, Ray Licon wrote: > Date: Sun, 25 Sep 2005 02:52:59 -0700 (PDT) > From: Ray Licon <[EMAIL PROTECTED]> > To: modperl@perl.apache.org > Subject: Setting %ENV from modperl handler > > Hello, > I'm trying to put a value I obtain from a modperl > handler script into the environme

Re: Setting %ENV from modperl handler

2005-09-25 Thread Ray Licon
I'm using a PerlAccessHandler to protect pages. When the page is initially accessed, it triggers an authentication process. The PerlAccessHandler calls a content handler which gets Database values checks them, does some cookie stuff and then finally allows access to the original page. What I want

Re: Setting %ENV from modperl handler

2005-09-25 Thread Frank Wiles
On Sun, 25 Sep 2005 13:53:49 -0700 (PDT) Ray Licon <[EMAIL PROTECTED]> wrote: > Philip, > > I am using the handler directive: > > SetHandler perl-script > > But, I'm still not able to place a value into cgi from > my handler that is available to a perl cgi script by > examining the %ENV conten

Re: Setting %ENV from modperl handler

2005-09-25 Thread Philip M. Gollucci
Ray Licon wrote: Philip, I am using the handler directive: SetHandler perl-script But, I'm still not able to place a value into cgi from my handler that is available to a perl cgi script by examining the %ENV contents. I'm not even certin which of the calls I've attempted 'should' work. By ad

Re: Setting %ENV from modperl handler

2005-09-25 Thread Ray Licon
Philip, I am using the handler directive: SetHandler perl-script But, I'm still not able to place a value into cgi from my handler that is available to a perl cgi script by examining the %ENV contents. I'm not even certin which of the calls I've attempted 'should' work. By adding some name valu

Re: apache crash with MP2 Win32 HTTPS

2005-09-25 Thread Matthew Darwin
This issue is also being tracked at http://issues.apache.org/bugzilla/show_bug.cgi?id=36751 Any input is more than welcome... Quote: <<< If a mod_perl "croak" means the whole process is terminated, then that much really is a mod_perl bug. Output filters may very well fail and return errors un

Re: Setting %ENV from modperl handler

2005-09-25 Thread Philip M. Gollucci
Ray Licon wrote: Hello, I'm trying to put a value I obtain from a modperl handler script into the environmental hash %ENV available in the cgi perl script, eventually called via the handler. I've tried calls: $r->subprocess_env->{'MY_USER'} = 'some_value'; $r->err_headers_out->add('MY_USER'

Setting %ENV from modperl handler

2005-09-25 Thread Ray Licon
Hello, I'm trying to put a value I obtain from a modperl handler script into the environmental hash %ENV available in the cgi perl script, eventually called via the handler. I've tried calls: $r->subprocess_env->{'MY_USER'} = 'some_value'; $r->err_headers_out->add('MY_USER' => 'some_value');