httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
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
https://issues.apache.org/bugzilla/show_bug.cgi?id=51359

Guenter Knauf <eflash@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #4 from Guenter Knauf <eflash@gmx.net> ---
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
<job>
<script language="JScript">
  WSH.Echo("Content-type: text/plain\n");
  WSH.Echo("Hello world from " + ScriptEngine() + " !");
</script>
</job>

isnt this sufficient?

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

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


Mime
View raw message