On Wed, Mar 17, 2010 at 4:40 PM, Hugh E Cruickshank <h...@forsoft.com> wrote:
> From: Jeff Trawick Sent: March 17, 2010 13:25
>>
>> (no mod_ssl-set envvars but HTTPS)
>>
>> Can you show the part of your config where you added
>>
>> SSLOptions +StdEnvVars
>
> From /etc/httpd/conf.d/ssl.conf:
>
> <VirtualHost *:443>
>  ServerName  <value intentionally masked>
>  ServerAlias <value intentionally masked>
>  ServerAlias <value intentionally masked>
>  DocumentRoot /var/www/fap
>  ServerAdmin <value intentionally masked>
>  ErrorLog /etc/httpd/logs/error_log
>  TransferLog /etc/httpd/logs/access_log
>  SSLEngine on
>  SSLCertificateFile    /usr/pgi/crt/pgi.crt
>  SSLCertificateKeyFile /usr/pgi/crt/pgi.key
> # SSLCACertificateFile  /etc/httpd/conf/ssl.crt/ca-bundle.crt
>  <Files ~ "\.(cgi|shtml)$">
>    SSLOptions +StdEnvVars
>  </Files>
>  <Directory "/etc/httpd/cgi-bin">

Either this ("/etc/httpd/cgi-bin") is the wrong directory, or you need
to also enable SSL envvars for /var/www/cgi-bin.  From your envvars
dump, the script is running from /var/www/cgi-bin:

SCRIPT_FILENAME:  /var/www/cgi-bin/faq

>    SSLOptions +StdEnvVars
>  </Directory>
>  SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
>  CustomLog /etc/httpd/logs/ssl_request_log \
>            "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
> </VirtualHost>
>
> There are two VirtualHost entries in the configuration file but both
> are virtually identical except for the ServerName, ServerAlias and
> DocumentRoot values.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to