|
...> telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET /cgi-bin/test.cgi HTTP/1.0
HTTP/1.1 200 OKDate: Thu, 23 Nov 2000 09:55:44 GMTServer: Apache/1.3.12 ...Connection: closeContent-Type: text/plain the pure query stringthe cgi argumentsthe global tcl variable cgi_argl= the script name argv0='/usr/local/httpd/cgi-bin/test.cgi' the list of arguments argv = '' the working directory cwd='/usr/local/httpd/cgi-bin' the environment env(DOCUMENT_ROOT) = /usr/local/httpd/htdocsenv(GATEWAY_INTERFACE) = CGI/1.1env(HOSTNAME) = sienv(HOSTTYPE) = i386env(MACHTYPE) = i386-suse-linuxenv(OSTYPE) = linuxenv(PATH) = /sbin:/bin:/usr/sbin:/usr/binenv(PWD) = /usr/local/httpd/cgi-binenv(QUERY_STRING) =env(REMOTE_ADDR) = 127.0.0.1env(REMOTE_PORT) = 1592env(REQUEST_METHOD) = GETenv(REQUEST_URI) = /cgi-bin/test.cgienv(SCRIPT_FILENAME) = /usr/local/httpd/cgi-bin/test.cgienv(SCRIPT_NAME) = /cgi-bin/test.cgienv(SERVER_ADDR) = 127.0.0.1env(SERVER_ADMIN) = root@localhostenv(SERVER_NAME) = si.fh-wedel.deenv(SERVER_PORT) = 80env(SERVER_PROTOCOL) = HTTP/1.0env(SERVER_SIGNATURE) = Apache/1.3.12 Server at si.fh-wedel.de Port 80 env(SERVER_SOFTWARE) = Apache/1.3.12 ...env(SHELL) = /bin/bashenv(SHLVL) = 0env(TERM) = dumbenv(UNIQUE_ID) = OhzpoMMlVDYAAAHDD98Connection closed by foreign host.
...>
get1.exp: das expect-Skript für dieses Beispiel |
| Letzte Änderung: 14.02.2012 | © Prof. Dr. Uwe Schmidt |