httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 51359] Added shebang check for //! so that .js scripts work as CGI based on similar .vbs from [Guenter Knauf]
Date Fri, 21 Sep 2012 16:31:19 GMT

Guenter Knauf <> changed:

           What    |Removed                     |Added
             Status|NEW                         |NEEDINFO

--- Comment #4 from Guenter Knauf <> ---
You can now already run JScript code if you wrap it into a wsf file; f.e.
create a testjs.wsf in cgi-bin folder with content:
'!c:/windows/system32/cscript -nologo
<script language="JScript">
  WSH.Echo("Content-type: text/plain\n");
  WSH.Echo("Hello world from " + ScriptEngine() + " !");

isnt this sufficient?

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message