RE: [PHP] no SSL environment vaiables



It is the same user. I am running the cgi script from my browser through
the web server.

-----Original Message-----
From: Richard Lynch [mailto:ceo@xxxxxxxxx]
Sent: Thursday, October 12, 2006 3:08 PM
To: gaw
Cc: php-general@xxxxxxxxxxxxx
Subject: RE: [PHP] no SSL environment vaiables

On Thu, October 12, 2006 4:27 pm, gaw wrote:
The SSL_ variables are available in the environment. If I run a cgi
script
and display env they are there. But they do not show in phpinfo();

Which USER runs the CGI script?...

You have to 'su' to the User defined in httpd.conf, or it doesn't have
any meaning what you do in CGI for ENV.

You MUST be logged in as the user whose ENV PHP is using, which is not
your normal login.

--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?
.



Relevant Pages

  • Wrapping HTML Form Output.
    ... I'm trying to use PHP to wrap the output of an HTML form before it goes ... form, which previously pointed to the C CGI script, to point to a PHP ...
    (comp.lang.php)
  • Invoking the PHP interpreter form a suexec CGI PHP program.
    ... I have configured successfully a PHP application to run as a CGI application ... as a suexec CGI script. ... But it does NOT work as a suexec CGI ...
    (php.general)
  • Why and wherefore file downloads
    ... working along with a cgi script of my own. ... about the php part of the setup: ... It does not seem to matter what I put there, ... The cgi that calls the php code is short so included below as well. ...
    (comp.lang.php)
  • Re: [PHP] php forcing a post??
    ... I highly doubt there's anything you can do in PHP that you can't do in the CGI script. ... If you really must do this, the easiest way would be to have the CGI call out to a PHP script, rather than trying to intercept the request itself. ... Alternatively, do an AJAX request in the onsubmit for the form that does the PHP bit, and if the response is good, then post the form. ...
    (php.general)
  • Re: What websites use Lisp?
    ... languages, frameworks, and libraries are used by various websites. ... languages for their CGI applications, my personal answer is that I ... In the future I plan to switch to PHP for the ... different alias to that script for each user online at a given ...
    (comp.lang.lisp)