Mailing List Archive

[Bug 8004] - CGI not working properly.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8004>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8004

CGI not working properly.

apachez@home.se changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED



------- Additional Comments From apachez@home.se 2002-04-13 10:28 -------
The shebang in top of the perl script must now point directly to the location
where perl.exe is located (aswell as directly at perl.exe).

That means that pointers like "#!perl" (without the quotes) wont no longer work
(even thou the perl.exe location is set in the environment path) but pointers
like "#!/perl/bin/perl.exe" (without the quotes) will work (in this example the
perl.exe binary can be found at c:\perl\bin\perl.exe).

This has probably have to do with increased security on how system components
are called (regarding the bug where additional system components earlier could
be called by just adding a "|" (without the quotes) to the URL where for
instance a .cgi file was called from).

However it doesnt explain why calling perl with "#!perl" works in 1.3.24 (maybe
the bug isnt entirly fixed in 1.3.24 ?).