Server-Side Includes
This is a demo of some SSI functions.
Tue Sep 7 15:24:22 2010
Tue 07 - Sep - 2010 03:24:22 PM MDT
CGI Server Variables:
38.107.191.100
CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
EXEC cgi= 1) 2 shell scripts, 2) perl script:
Hello world! - from the bash shell
date: Tue Sep 7 15:24:22 MDT 2010
Hello Allan !
end of first Linux cgi shell script.
=============
Hello World!
CGI/1.0 test script report:
argc is 0. argv is .
SERVER_SOFTWARE = Apache/2.2.16 (CentOS) mod_ssl/2.2.16 0.9.8l DAV/2 mod_fcgid/2.3.5 mod_auth_passthrough/2.1 FrontPage/5.0.2.2635
SERVER_NAME = workshop.kublekax.org
GATEWAY_INTERFACE = CGI/1.1
SERVER_PROTOCOL = INCLUDED
SERVER_PORT = 80
REQUEST_METHOD = GET
HTTP_ACCEPT = text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
PATH_INFO =
PATH_TRANSLATED =
SCRIPT_NAME = /cgi-bin/test-cgi
QUERY_STRING =
REMOTE_HOST =
REMOTE_ADDR = 38.107.191.100
REMOTE_USER =
AUTH_TYPE =
CONTENT_TYPE =
CONTENT_LENGTH =
--- PERL:
INCLUDE virtual
Hello World! -- from Python
Hello
Allan