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 contents. I'm not even certin which > of the calls I've attempted 'should' work. By adding > some name value pair into the response header, I > thought it should show up as an 'HTTP_' prefixed value > in %ENV, like HTTP_MY_USER, > > as in ...$r->headers_out->set('MY_USER' => > > 'some_value'); > > but I get nothing. How are you calling the CGI script? Are you calling it from the commandline or are you redirecting to it? $r->headers_out is for setting HTTP headers, not for passing environment variables around. --------------------------------- Frank Wiles <[EMAIL PROTECTED]> http://www.wiles.org ---------------------------------