Hello list, I am having a very weird issue running asp code after an Apache upgrade. Here is what is happening: SERVER SPECS: Running on Port: 443 Server Software: Apache/2.4.16 (Unix) OpenSSL/1.0.2g PHP/5.6.11 mod_perl/2.0.9 Perl/v5.22.0 Server Protocol: HTTP/1.1 CGI Revision: CGI/1.1 <<<<<< CGI verision 4.28 is installed, not sure why this says 1.1 MOD_PERL: mod_perl/2.0.9 Whittled down to the a very simple case: 1.asp in /www/retrieve/elevationscu: <% my $ENV = $Request->ServerVariables(); strict; use warnings; ##use Env::Export 'REMOTE_ADDR'; # Print a message. print "Hello, World!\n"; %> <br> <% $ENV{KCTTEST}='KCTTEST'; print "REMOTE_ADDR($ENV{REMOTE_ADDR})\n"; print "KCTTEST($ENV{KCTTEST}) "; %> <br> From /www/cgi-bin/kcttestit.ksh <br> <% print `/www/cgi-bin/kcttestit.ksh`; %> <br> From /www/cgi-bin/kcttestit.pl <br> <% print `/www/cgi-bin/kcttestit.pl`; %> <br> /www/cgi-bin/kcttestit.ksh: #!/usr/bin/ksh echo "KCTTEST($KCTTEST) REMOTE_ADDR($REMOTE_ADDR)" /www/cgi-bin/kcttestit.pl: #!/usr/bin/env perl print ("KCTTEST($ENV{KCTTEST})\n"); https://<server>.com/retrieve/elevationscu/1.asp What I expect to see: Hello, World! REMOTE_ADDR(137.106.101.116) From /www/cgi-bin/kcttestit.ksh KCTTEST(KCTTEST) REMOTE_ADDR(137.106.101.116) From /www/cgi-bin/kcttestit.pl KCTTEST(KCTTEST) What I get: Hello, World! REMOTE_ADDR(137.106.101.116) From /www/cgi-bin/kcttestit.ksh KCTTEST() REMOTE_ADDR() From /www/cgi-bin/kcttestit.pl KCTTEST() Perl and KSH scripts run fine! If I try and run the script from browser, the following appears: Hello, World! REMOTE_ADDR(xxx.xxx.xxx.xxx) KCTTEST(KCTTEST) >From /www/cgi-bin/kcttestit.ksh KCTTEST() REMOTE_ADDR() >From /www/cgi-bin/kcttestit.pl KCTTEST() $VAR1 = { 'PATH' => '/opt/apache_2.4.16/pcre/bin:/opt/apache_2.4.16/openssl/bin:/impala/bin:/impala/opt/tools/bin:/u01/app/oracle/product/12.1.0.2/client_1/bin:/usr/sfw/bin:/usr/sbin:/usr/bin', 'PWD' => '/', 'SMF_FMRI' => 'svc:/network/http:apache2', 'LD_LIBRARY_PATH' => '/opt/apache_2.4.16/apache/lib:/opt/apache_2.4.16/openssl/lib/:/opt/apache_2.4.16/openssl/lib/:/u01/app/oracle/product/12.1.0.2/client_1/lib:/u01/app/oracle/product/12.1.0.2/client_1/instantclient:/usr/perl5/5.22.0_32bit/lib/5.22.0/sun4-solaris-thread-multi/CORE', 'TZ' => 'US/Mountain', 'USER' => 'root', 'SMF_METHOD' => '/opt/apache2/bin/start_apache', 'SMF_RESTARTER' => 'svc:/system/svc/restarter:default', 'PW_PATH' => '/opt/apache_2.4.16/pcre/bin:/opt/apache_2.4.16/openssl/bin:/impala/bin:/impala/opt/tools/bin:/u01/app/oracle/product/12.1.0.2/client_1/bin:/usr/sfw/bin', 'PW_LIB' => '/opt/apache_2.4.16/openssl/lib/:/u01/app/oracle/product/12.1.0.2/client_1/lib:/u01/app/oracle/product/12.1.0.2/client_1/instantclient:/usr/perl5/5.22.0_32bit/lib/5.22.0/sun4-solaris-thread-multi/CORE', 'ORACLE_HOME' => '/u01/app/oracle/product/12.1.0.2/client_1' }; ENV DUMPED $VAR1 = { 'KCTTEST' => 'KCTTEST', 'SERVER_PORT' => '443', 'HTTP_CONNECTION' => 'keep-alive', 'REMOTE_ADDR' => 'xxx.xxx.xxx.xxx', 'REQUEST_METHOD' => 'GET', 'CONTEXT_PREFIX' => '/retrieve/', 'LD_LIBRARY_PATH' => '/opt/apache_2.4.16/apache/lib:/opt/apache_2.4.16/openssl/lib/:/opt/apache_2.4.16/openssl/lib/:/u01/app/oracle/product/12.1.0.2/client_1/lib:/u01/app/oracle/product/12.1.0.2/client_1/instantclient:/usr/perl5/5.22.0_32bit/lib/5.22.0/sun4-solaris-thread-multi/CORE', 'MOD_PERL' => 'mod_perl/2.0.9', 'QUERY_STRING' => '', 'SERVER_SOFTWARE' => 'Apache/2.4.16 (Unix) OpenSSL/1.0.2g PHP/5.6.11 mod_perl/2.0.9 Perl/v5.22.0', 'HTTPS' => 'on', 'MOD_PERL_API_VERSION' => 2, 'TZ' => 'US/Mountain', 'HTTP_UPGRADE_INSECURE_REQUESTS' => '1', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, sdch', 'SERVER_NAME' => 'xxx.xxx.xxx.xxx', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REMOTE_PORT' => '54787', 'REQUEST_URI' => '/retrieve/elevationscu/1.asp', 'PATH' => '/opt/apache_2.4.16/pcre/bin:/opt/apache_2.4.16/openssl/bin:/impala/bin:/impala/opt/tools/bin:/u01/app/oracle/product/12.1.0.2/client_1/bin:/usr/sfw/bin:/usr/sbin:/usr/bin', 'REQUEST_SCHEME' => 'https', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.8', 'DOCUMENT_ROOT' => '/www/', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36', 'CONTEXT_DOCUMENT_ROOT' => '/www/htdocs/retrieve/', 'SERVER_ADDR' => '137.106.76.64', 'SERVER_SIGNATURE' => '', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'HTTP_HOST' => '205.168.83.3', 'SCRIPT_FILENAME' => '/www/htdocs/retrieve/elevationscu/1.asp', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'SERVER_ADMIN' => 'webadmin@xxxxxxxxxxxxxxxxxx', 'SCRIPT_NAME' => '/retrieve/elevationscu/1.asp' }; I redacted out the IP values with 'xxx'. Any help would be appreciated!!! Jonathan ____________________________________________________________ Places You'll See 30 Stunning Pictures from the Newest, Biggest, Baddest Cruise Ship in the ... http://thirdpartyoffers.juno.com/TGL3131/572999ebab5a19ea3eb9st04duc --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx