diff options
| author | Arno Töll <debian@toell.net> | 2012-01-08 22:53:17 +0100 |
|---|---|---|
| committer | Arno Töll <debian@toell.net> | 2012-01-08 22:53:17 +0100 |
| commit | e072a2dd866b7cb9f14319b80326a4e7fd16fcdf (patch) | |
| tree | a49dfc56d94a26011fe157835ff6cbe14edbd8a9 /docs/cgi-examples | |
| parent | 0890390c00801651d08d3794e13b31a5dabbf5ef (diff) | |
| download | apache2-e072a2dd866b7cb9f14319b80326a4e7fd16fcdf.tar.gz | |
Imported Upstream version 2.3.16-beta
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 |
