I'm using mod_perl 1. But I'm setting the handlers in httpd.conf. I
sent a message to the list on thursday ("problem with pulling variables
from mod_ssl") that more fully describes my situtation.
--Ryan
On Mon, 2003-06-09 at 14:31, Marc M. Adkins wrote:
> IF you're using mp2...in your httpd.conf are you setting up the handlers
> with modperl or perl-script? The former doesn't provide any environment
> variables:
>
> http://perl.apache.org/docs/2.0/user/config/config.html#C_SetHandler_
>
> I don't believe this applies to mp1.
>
> mma
>
> > -----Original Message-----
> > From: Ryan Muldoon [mailto:[EMAIL PROTECTED]
> > Sent: Monday, June 09, 2003 11:30 AM
> > To: [EMAIL PROTECTED]
> > Subject: getting *any* variables out of the server environment
> >
> >
> > I'm not able to get *any* variables out from the apache server
> > environment. As you might be able to imagine, this is extremely
> > frustrating, and inhibits my ability to do anything of use with
> > mod_perl. My basic technique has been:
> > my $uri = $r->uri;
> > return unless $r->is_main();
> > my $subr = $r->lookup_uri($uri);
> > my $apachecertcomp = $subr->subprocess_env($certcomponent);
> > But this doesn't work. I also tried
> > my $var = $r->subprocess_env("VARIABLE_NAME");
> > And this does not work either. I really need to be able to use
> > environment variables that mod_ssl sets in my authentication handler.
> > Any ideas? Thanks!
> >
> > --Ryan
> >
>