diff options
Diffstat (limited to 'docs/cgi-examples')
| -rw-r--r-- | docs/cgi-examples/printenv | 11 | ||||
| -rw-r--r-- | docs/cgi-examples/test-cgi | 10 |
2 files changed, 19 insertions, 2 deletions
diff --git a/docs/cgi-examples/printenv b/docs/cgi-examples/printenv index e4c2140b..f815a7e5 100644 --- a/docs/cgi-examples/printenv +++ b/docs/cgi-examples/printenv @@ -1,4 +1,13 @@ -#!/usr/local/bin/perl +# + +# To permit this cgi, replace # on the first line above with the +# appropriate #!/path/to/perl shebang, and set this script executable +# with chmod 755. +# +# 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 ## diff --git a/docs/cgi-examples/test-cgi b/docs/cgi-examples/test-cgi index e27f8575..d92e0ecc 100644 --- a/docs/cgi-examples/test-cgi +++ b/docs/cgi-examples/test-cgi @@ -1,4 +1,12 @@ -#!/bin/sh +# + +# To permit this cgi, replace # on the first line above with the +# appropriate #!/path/to/sh shebang, and set this script executable +# with chmod 755. +# +# 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. # disable filename globbing set -f |
