Mailing List Archive

[Bug 7786] - ScriptInterpreterSource is broken
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=7786>.
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=7786

ScriptInterpreterSource is broken





------- Additional Comments From wrowe@apache.org 2002-04-17 03:18 -------

Based on my observations, it's also possible to work around this bug while waiting
for Apache 2.0.36.

By removing or crippling the shebang line, the cgi parser will go on to attempt
the registry method. This can be done by adding an extra # in the first line of
a script, such as;

##!perl

In this way, you have a reminder that there once was a shebang line, but it
won't be recognized because it doesn't begin with "#!"

And you can then use your registry associations to invoke the script instead.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org