From d3bd5a5f355e46f3ab3a4c1b5bae07d0ddb3d75f Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Sat, 29 Sep 2012 08:44:53 +0000 Subject: [PATCH] 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 --- docs/cgi-examples/printenv.wsf | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 docs/cgi-examples/printenv.wsf 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 +'' + + + + -- 2.47.3