You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Paul Sutton <pa...@c2.net> on 1998/02/28 14:38:18 UTC
Win32 CGIs don't work
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 <sr...@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 <sr...@wisewire.com>, Ben Laurie]
> +
Re: Win32 CGIs don't work
Posted by Ben Laurie <be...@algroup.co.uk>.
Paul Sutton wrote:
>
> 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).
+1. Better reopen 1712 and add a note at the same time!
Cheers,
Ben.
--
Ben Laurie |Phone: +44 (181) 735 0686|Apache Group member
Freelance Consultant |Fax: +44 (181) 735 0689|http://www.apache.org
and Technical Director|Email: ben@algroup.co.uk |Apache-SSL author
A.L. Digital Ltd, |http://www.algroup.co.uk/Apache-SSL
London, England. |"Apache: TDG" http://www.ora.com/catalog/apache