[NTLUG:Discuss] apache/ssi question

David Camm bbai at onramp.net
Fri Mar 24 00:30:36 CST 2000


does anyone know 

(a) why apache will not pass the HTTP_COOKIE environment variable to a
cgi program executed via ssi e.g. 

<!--#exec cgi="/cgi-bin/xxx.pl"-->

while it does pass it to a non-ssi program

and 

(b) is there any way around this?

i have already tried <!--#exec cmd="/cgi-bin/xxx.pl $HTTP_COOKIE"--> and 
<!--#exec cgi="/cgi-bin/xxx.pl $HTTP_COOKIE"--> and neither works, nor
did adding a 'PassEnv HTTP_COOKIE' into the webserver definition work
either.

sign me 

frustrated in fort worth

david camm
@dvanced web systems




More information about the Discuss mailing list