Changeset 1685

Show
Ignore:
Timestamp:
02/21/2007 07:31:32 PM (20 months ago)
Author:
darix
Message:

- add HTTPS=on to the environment of cgi scripts (#861)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/mod_cgi.c

    r1617 r1685  
    729729                                    CONST_BUF_LEN(con->authed_user)); 
    730730                } 
     731 
     732#ifdef USE_OPENSSL 
     733       if (srv_sock->is_ssl) { 
     734               fcgi_env_add(p->fcgi_env, CONST_STR_LEN("HTTPS"), CONST_STR_LEN("on")); 
     735       } 
     736#endif 
    731737 
    732738                /* request.content_length < SSIZE_MAX, see request.c */