/[apache]/trunk/dist/gentoo-webroot-default/webroot/cgi-bin/test-cgi
Gentoo

Contents of /trunk/dist/gentoo-webroot-default/webroot/cgi-bin/test-cgi

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6 - (show annotations) (download)
Fri Jan 28 16:54:44 2005 UTC (9 years, 10 months ago) by hollow
File size: 757 byte(s)
Added icons and sample cgi's from apache-2.0.52.tar.bz2
Fixed bug #79722 (invalid xhtml in index.html)

1 #!/bin/sh
2
3 # disable filename globbing
4 set -f
5
6 echo Content-type: text/plain
7 echo
8
9 echo CGI/1.0 test script report:
10 echo
11
12 echo argc is $#. argv is "$*".
13 echo
14
15 echo SERVER_SOFTWARE = $SERVER_SOFTWARE
16 echo SERVER_NAME = $SERVER_NAME
17 echo GATEWAY_INTERFACE = $GATEWAY_INTERFACE
18 echo SERVER_PROTOCOL = $SERVER_PROTOCOL
19 echo SERVER_PORT = $SERVER_PORT
20 echo REQUEST_METHOD = $REQUEST_METHOD
21 echo HTTP_ACCEPT = "$HTTP_ACCEPT"
22 echo PATH_INFO = "$PATH_INFO"
23 echo PATH_TRANSLATED = "$PATH_TRANSLATED"
24 echo SCRIPT_NAME = "$SCRIPT_NAME"
25 echo QUERY_STRING = "$QUERY_STRING"
26 echo REMOTE_HOST = $REMOTE_HOST
27 echo REMOTE_ADDR = $REMOTE_ADDR
28 echo REMOTE_USER = $REMOTE_USER
29 echo AUTH_TYPE = $AUTH_TYPE
30 echo CONTENT_TYPE = $CONTENT_TYPE
31 echo CONTENT_LENGTH = $CONTENT_LENGTH

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20