Re: [PHP4BETA] ssl check

[email protected] (Evan Klinger)
Newsgroups php.version4
Message-ID <[email protected]>
Steve Langasek wrote:
> 
> On Wed, 24 May 2000, Harald Ponce de Leon wrote:
> 
> > ive used the following script on my secure server and i get no results
> > (except for REMOTE_ADDR which is just for testing)..
> 
> > <?
> > //SSL_CIPHER, SSL_CIPHER_EXPORT, SSL_CIPHER_ALGKEYSIZE, SSL_USEKEYSIZE
> > echo 'REMOTE_ADDR=' . $REMOTE_ADDR . '<br>';
> > echo 'SSL_CIPHER=' . $SSL_CIPHER . '<br>';
> > echo 'SSL_CIPHER_EXPORT=' . $SSL_CIPHER_EXPORT . '<br>';
> > echo 'SSL_CIPHER_ALKEYSIZE=' . $SSL_ALGKEYSIZE . '<br>';
> > echo 'SSL_USEKEYSIZE=' . $SSL_USEKEYSIZE . '<br>';
> > ?>

With mod_ssl you need to specifically specify that the SSL environment
variables be set since they add mroe overhead. You can do this like so:

<Files ~ "\.(cgi|shtml)$">
SSLOptions +StdEnvVars
</Files>
-- 

ev

----------------------------
Evan Klinger	[email protected]
AIM		evan715
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.