httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Sutton <p...@c2.net>
Subject Win32 CGIs don't work
Date Sat, 28 Feb 1998 13:38:18 GMT
There have been a bunch of reports that CGIs don't work on Win32. This is
correct. It affects any CGI started with a #! line such as

  #!c:/bin/perl

It used to work in 1.3b3. The cause is this patch. It adds a trailing '.'
onto the interpreter filename, so that Apache tries to spawn c:\bin\perl. 
instead of c:\bin\perl, which fails.

I think this patch should be reversed, pending a better fix for PR#1712.
At the moment we are killing everyone that's using #! style CGIs (i.e.
lots of people).

Paul

On 8 Feb 1998 ben@hyperreal.org wrote:
> ben         98/02/08 10:50:52
> 
>   Modified:    src      CHANGES
>                src/os/win32 util_win32.c
>   Log:
>   Support extensionless CGIs.
>   Submitted by:	Sam Robb <srobb@wisewire.com>
>   
>   Revision  Changes    Path
>   1.622     +4 -0      apache-1.3/src/CHANGES
>   
>   Index: CHANGES
>   ===================================================================
>   RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
>   retrieving revision 1.621
>   retrieving revision 1.622
>   diff -u -r1.621 -r1.622
>   --- CHANGES	1998/02/08 18:15:58	1.621
>   +++ CHANGES	1998/02/08 18:50:49	1.622
>   @@ -1,5 +1,9 @@
>    Changes with Apache 1.3b5
>    
>   +  *) WIN32: Append a '.' to extensionless executables in spawn[lv]e*
>   +     replacements, which makes them work.
>   +     [Sam Robb <srobb@wisewire.com>, Ben Laurie]
>   +



Mime
View raw message