Need help with OpenVMS implementation of CERN or OSU

     
     I work for a company that has a Web based database reporting product 
     that we would like to certify under the OpenVMS CERN (3.0) and OSU 
     DECThread servers (amoung many others VMS and non VMS), but we are 
     getting this strange behavior on both ( ... no suprize since OSU is 
     based on CERN).
     
     Behavior ... server is up and serving HTML and CGI "GET"s just fine.
     POST is the problem ... server finds and executes a .COM file which we 
     use to call our actual binary image, but stdin (WWW_IN:) aways seems 
     to be empty. I put in some debugging messages in the .COM and we are 
     getting to the .COM file. WWW_QUERY_STRING is populated even in POST, 
     which I did think was strange. I tried the CGIPARSE program (to take 
     our binary out of the issue loop) and it still put out nothing from 
     standard in. I even tried TYPE WWW_IN: and TYPE SYS$INPUT ... nothing 
     showed up in the output. Also tried TYPE TT:, but hangs CERN server 
     (works on Netscape) ... so I put in a show dev on it. 
     
     I don't see anything overtly strange in our configuration, but then 
     again ... doc on this is parse, so who knows. 
     
     The same .COM and binary that it calls works fine under Purveyor and 
     Netscape. 
     
     I also noticed WWW_GATEWAY_INTERFACE is 1.0 ... not 1.1 as noted in 
     CERN manual ... the CERN version is 3.0 and our admin got it (and the 
     OSU server) off a Digital Shareware disk they (DEC) distributes.
     
     Below is a test .COM file and browser output if that is helpful ...
     
     Again ... I thank you for any assistence you can be ... 
     
     Terry Schwarz
     terry_schwarz@ibi.com
     
     
     posttest.com ...
     
     $  MapCGINames = F$TYPE(WWW_SERVER_SOFTWARE)
     $!
     
     $  If MapCGINames .NES. ""
     $     Then Set Message /notext /noidentification -
                    /nofacility /noseverity
     $          AUTH_REALM           == WWW_AUTH_REALM
     $          AUTH_TYPE            == WWW_AUTH_TYPE
     $          GATEWAY_INTERFACE    == WWW_GATEWAY_INTERFACE
     $          HTTP_ACCEPT          == WWW_HTTP_ACCEPT
     $          HTTP_ACCEPT_1        == WWW_HTTP_ACCEPT_1
     $          HTTP_ACCEPT_2        == WWW_HTTP_ACCEPT_2
     $          HTTP_ACCEPT_3        == WWW_HTTP_ACCEPT_3
     $          HTTP_ACCEPT_4        == WWW_HTTP_ACCEPT_4
     $          HTTP_ACCEPT_5        == WWW_HTTP_ACCEPT_5
     $          HTTP_ACCEPT_LANGUAGE == WWW_HTTP_ACCEPT_LANGUAGE
     $          HTTP_CONNECTION      == WWW_HTTP_CONNECTION
     $          HTTP_HOST            == WWW_HTTP_HOST
     $          HTTP_UA_COLOR        == WWW_HTTP_UA_COLOR
     $          HTTP_UA_CPU          == WWW_HTTP_UA_CPU
     $          HTTP_UA_OS           == WWW_HTTP_UA_OS
     $          HTTP_UA_PIXELS       == WWW_HTTP_UA_PIXELS
     $          HTTP_USER_AGENT      == WWW_HTTP_USER_AGENT
     $          PATH                 == WWW_PATH
     $          PATH_INFO            == WWW_PATH_INFO
     $          PATH_TRANSLATED      == WWW_PATH_TRANSLATED
     $          QUERY_STRING         == WWW_QUERY_STRING
     $          REMOTE_ADDR          == WWW_REMOTE_ADDR
     $          REMOTE_HOST          == WWW_REMOTE_HOST
     $          REMOTE_USER          == WWW_REMOTE_USER
     $          REQUEST_LINE         == WWW_REQUEST_LINE
     $          REQUEST_METHOD       == WWW_REQUEST_METHOD
     $          SCRIPT_NAME          == WWW_SCRIPT_NAME
     $          SERVER_NAME          == WWW_SERVER_NAME
     $          SERVER_PORT          == WWW_SERVER_PORT
     $          SERVER_PROTOCOL      == WWW_SERVER_PROTOCOL
     $          SERVER_SOFTWARE      == WWW_SERVER_SOFTWARE
     $          CONTENT_TYPE         == WWW_CONTENT_TYPE
     $          CONTENT_LENGTH       == WWW_CONTENT_LENGTH
     $          Set Message /text /identification /facility /severity
     $  EndIf
     $!
     $  Write sys$output "Content-type: text/plain"
     $  Write sys$output ""
     $  set verify
     $  show default
     $  show symbol /global/all
     $  show symbol /local/all
     $  show logical/job/process
     $!
     $  CGIPARSE -read
     $  type sys$input:
     $  type www_in:
     $!  type tt:
     $  show dev /full tt:
     
     Here is browser output (long)
     
     $  show default
       SOHO$DKA0:[CERN]
     $  show symbol /global/all
       $RESTART == "FALSE"
       $SEVERITY == "1"
       $STATUS == "%X00030001"
       AUTH_TYPE == ""
       CGIPARSE == "$SOHO$DKA0:[CERN.ALPHA]CGIPARSE"
       CONTENT_LENGTH == "111"
       CONTENT_TYPE == "application/x-www-form-urlencoded"
       COP*Y == "COPY/LOG"
       DEL*ETE == "DELETE/LOG"
       EGR*EP == "$DEVICE:[DIRECTORY]EGREP"
       GATEWAY_INTERFACE == "CGI/1.0"
       GAWK == "$DEVICE:[DIRECTORY]GAWK"
       HTIMAGE == "$SOHO$DKA0:[CERN.ALPHA]HTIMAGE"
       HTTP_ACCEPT == "8"
       HTTP_ACCEPT_1 == "text/plain"
       HTTP_ACCEPT_2 == "text/html"
       HTTP_ACCEPT_3 == "*/*"
       HTTP_ACCEPT_4 == "image/pjpeg"
       HTTP_ACCEPT_5 == "image/jpeg"
       HTTP_CONNECTION == "Keep-Alive"
       HTTP_HOST == "soho:8300"
       HTTP_USER_AGENT == "Mozilla/3.04 (Win95; I)"
       PATH_INFO == ""
       PATH_TRANSLATED == ""
       PRI*NT == "PRINT/NOFLAG"
       PUR*GE == "PURGE/LOG"
       QUERY_STRING == 
     "IBIF_adhocfex=TABLE+FILE+CAR%0D%0APRINT+CAR+MODEL+SEATS+++++++++++++%
     0D%0ABY+COUNTRY+%0D%0AEND%0D%0A&submit=Run"
       REMOTE_ADDR == "172.19.80.69"
       REMOTE_USER == ""
       REN*AME == "RENAME/LOG"
       REQUEST_METHOD == "POST"
       SCRIPT_NAME == "/htbin/posttest.com"
       SERVER_NAME == "soho1.ibi.com"
       SERVER_PORT == "8300"
       SERVER_PROTOCOL == "HTTP/1.0"
       SERVER_SOFTWARE == "CERN/3.0"
       WWW_AUTH_TYPE == ""
       WWW_CONTENT_LENGTH == "111"
       WWW_CONTENT_TYPE == "application/x-www-form-urlencoded"
       WWW_GATEWAY_INTERFACE == "CGI/1.0"
       WWW_HTTP_ACCEPT == "8"
       WWW_HTTP_ACCEPT_1 == "text/plain"
       WWW_HTTP_ACCEPT_2 == "text/html"
       WWW_HTTP_ACCEPT_3 == "*/*"
       WWW_HTTP_ACCEPT_4 == "image/pjpeg"
       WWW_HTTP_ACCEPT_5 == "image/jpeg"
       WWW_HTTP_ACCEPT_6 == "image/x-xbitmap"
       WWW_HTTP_ACCEPT_7 == "image/gif"
       WWW_HTTP_ACCEPT_8 == "*/*"
       WWW_HTTP_CONNECTION == "Keep-Alive"
       WWW_HTTP_HOST == "soho:8300"
       WWW_HTTP_REFERER == "http://soho:8300/posttest.htm"
       WWW_HTTP_USER_AGENT == "Mozilla/3.04 (Win95; I)"
       WWW_KEY_1 == "IBIF_adhocfex="
       WWW_KEY_2_1 == "TABLE FILE CAR."
       WWW_KEY_2_2 == "PRINT CAR MODEL SEATS             ."
       WWW_KEY_2_3 == "BY COUNTRY ."
       WWW_KEY_2_4 == "END."
       WWW_KEY_2_COUNT == "4"
       WWW_KEY_3 == "submit="
       WWW_KEY_4 == "Run"
       WWW_KEY_COUNT == "4"
       WWW_PATH_INFO == ""
       WWW_PATH_TRANSLATED == ""
       WWW_QUERY_STRING == 
     "IBIF_adhocfex=TABLE+FILE+CAR%0D%0APRINT+CAR+MODEL+SEATS+++++++++++++%
     0D%0ABY+COUNTRY+%0D%0AEND%0D%0A&submit=Run"
       WWW_REFERER_URL == "http://soho:8300/posttest.htm"
       WWW_REMOTE_ADDR == "172.19.80.69"
       WWW_REMOTE_IDENT == ""
       WWW_REMOTE_USER == ""
       WWW_REQUEST_METHOD == "POST"
       WWW_SCRIPT_NAME == "/htbin/posttest.com"
       WWW_SERVER_NAME == "soho1.ibi.com"
       WWW_SERVER_PORT == "8300"
       WWW_SERVER_PROTOCOL == "HTTP/1.0"
       WWW_SERVER_SOFTWARE == "CERN/3.0"
     $  show symbol /local/all
       MAPCGINAMES = "STRING"
       P1 = ""
       P2 = ""
       P3 = ""
       P4 = ""
       P5 = ""
       P6 = ""
       P7 = ""
       P8 = ""
     $  show logical/job/process
     
     (LNM$PROCESS_TABLE)
     
       "SYS$COMMAND" = "_SOHO$MBA390:"
       "SYS$DISK" = "SOHO$DKA0:"
       "SYS$ERROR" [super] = "WWW_OUT"
       "SYS$ERROR" [exec] = "_NLA0:"
       "SYS$INPUT" [super] = "_SOHO$DKA0:"
       "SYS$INPUT" [exec] = "_SOHO$MBA390:"
       "SYS$OUTPUT" [super] = "WWW_OUT:"
       "SYS$OUTPUT" [exec] = "_NLA0:"
       "TT" = "_MBA390:"
       "WWW_IN" = "_SOHO$MBA388"
       "WWW_OUT" = "_SOHO$MBA389"
     
     (LNM$JOB_810647C0)
     
       "WWW_MBOX_IN" = "MBA388:"
       "WWW_MBOX_OUT" = "MBA389:"
     $  show log http*
     
     (LNM$PROCESS_TABLE)
     
     (LNM$JOB_810647C0)
     
     (LNM$GROUP_000221)
     
     (LNM$SYSTEM_TABLE)
     
       "HTTPD_CGIDIR" = "SOHO$DKA0:[CERN.CGI-BIN.]"
       "HTTPD_Dir" = "SOHO$DKA0:[CERN]"
     
     (DECW$LOGICAL_NAMES)
     $!
     $  CGIPARSE -read
     $  type sys$input:
     $  type www_in:
     $ show dev /full tt:
     
     Device MBA390:, device type local memory mailbox, is online, 
     record-oriented
         device, shareable, mailbox device.
     
         Error count                    0    Operations completed           
            4
         Owner process                 ""    Owner UIC                
     [CERNGRP,CERN]
         Owner process ID        00000000    Dev Prot    
     S:RWPL,O:RWPL,G:RWPL,W:RWPL
         Reference count                2    Default buffer size            
          256
     
     $!  type tt:

Received on Wednesday, 18 February 1998 12:40:26 UTC