From: Guenter Knauf Date: Sat, 29 Sep 2012 08:44:53 +0000 (+0000) Subject: Add CGI sample to show how JScript can be used (BZ51359). X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3bd5a5f355e46f3ab3a4c1b5bae07d0ddb3d75f;p=thirdparty%2Fapache%2Fhttpd.git Add CGI sample to show how JScript can be used (BZ51359). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1391773 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/cgi-examples/printenv.wsf b/docs/cgi-examples/printenv.wsf new file mode 100644 index 00000000000..c70b9a65c50 --- /dev/null +++ b/docs/cgi-examples/printenv.wsf @@ -0,0 +1,30 @@ +' + +' To permit this cgi, replace ' on the first line above with the +' appropriate shebang, f.e. '!c:/windows/system32/cscript -nologo +' +' Note that it is subject to cross site scripting attacks on MS IE +' and any other browser which fails to honor RFC2616, so never use +' it in a live server environment, it is provided only for testing. + +'' +'' printenv -- demo CGI program which just prints its environment +'' + + + +