You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Bill Stoddard <st...@raleigh.ibm.com> on 1998/12/04 19:44:25 UTC

Re: FW: mod_cgi/3488: Can't run CGI script

> -----Original Message-----
> From: apache-bugdb-owner@apache.org
> [mailto:apache-bugdb-owner@apache.org] On Behalf Of Hiroshi Katayama
> Sent: Friday, December 04, 1998 5:31 AM
> To: apbugs@hyperreal.org
> Subject: mod_cgi/3488: Can't run CGI script
> 
> >Number:         3488
> >Category:       mod_cgi
> >Synopsis:       Can't run CGI script
> >Confidential:   no
> >Severity:       serious
> >Priority:       medium
> >Responsible:    apache
> >State:          open
> >Class:          change-request
> >Submitter-Id:   apache
> >Arrival-Date:   Fri Dec  4 02:40:00 PST 1998
> >Last-Modified:
> >Originator:     hiroshi@soupacific.com
> >Organization:
> apache
> >Release:        1.3.3
> >Environment:
> Windows NT 4.0 SP3
> VC++ 5.0
> >Description:
> We are publisher of Xbase based CGI Interpreter.
> 
> When I want send like following way, there is now way to excute
> interpreter.
> 
> <img src="/cgi-bin/image.prg?form1=string1&form2=string2&form3=string3 >
> 
> image.prg is program script file.
> 
> Usualy I call as next. when I don't need to pass aruguments.
> 
> <img src="/cgi-bin/aragoi.exe?image.prg >
> 
> I look your util_script.c,
>  Open script file and check "#!" first.
> 
> But I can't change our interpreter to accept "#!" syntax since it cause
> compatiblity problem for Xbase syntax.
> 

I will be posting a patch toward the end of the month that I think will
fix this problem. The patch provides the option (via a configuration
directive) to search the NT registry for the interpreter using the
script extension as a key, rather than using the #! (shebang) line. 


-- 
Bill Stoddard
stoddard@raleigh.ibm.com