ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/HostUpdate/test.sh
Revision: 900
Committed: 2007-04-29T02:26:40-07:00 (18 years, 2 months ago) by douglas
Content type: text/x-sh
File size: 1180 byte(s)
Log Message:
Woo!

File Contents

# User Rev Content
1 douglas 900 #!/usr/bin/env bash
2 Douglas Thrift 13 # Host Update
3     #
4     # Douglas Thrift
5     #
6     # $Id$
7    
8 Douglas Thrift 14 export CONTENT_LENGTH="32"
9     export CONTENT_TYPE="application/x-www-form-urlencoded"
10     export DOCUMENT_ROOT="D:/Apache Group/Apache2/htdocs"
11     export GATEWAY_INTERFACE="CGI/1.1"
12     export HTTP_CONNECTION="TE, close"
13     export HTTP_HOST="douglaspc"
14     export HTTP_TE="deflate,gzip;q=0.3"
15     export HTTP_USER_AGENT="Host Update/1.0 (Windows NT 5.1 x86) libwww-perl/5.68"
16     export QUERY_STRING=""
17 douglas 900 export REMOTE_ADDR="169.231.20.24"
18 Douglas Thrift 14 export REMOTE_PORT="3373"
19     export REQUEST_METHOD="POST"
20     export REQUEST_URI="/cgi-bin/hostupdate.exe"
21     export SCRIPT_FILENAME="D:/Apache Group/Apache2/cgi-bin/hostupdate.exe"
22     export SCRIPT_NAME="/cgi-bin/hostupdate.exe"
23     export SERVER_ADDR="128.111.182.132"
24     export SERVER_ADMIN="DouglasWTh@myrealbox.com"
25     export SERVER_NAME="douglaspc"
26     export SERVER_PORT="80"
27     export SERVER_PROTOCOL="HTTP/1.1"
28     export SERVER_SIGNATURE="<address>Apache/2.0.48 (Win32) DAV/2 PHP/4.3.1 mod_python/3.0.3 Python/2.2.1 SVN/0.32.1 Server at douglaspc Port 80</address>\n"
29     export SERVER_SOFTWARE="Apache/2.0.48 (Win32) DAV/2 PHP/4.3.1 mod_python/3.0.3 Python/2.2.1 SVN/0.32.1"
30 Douglas Thrift 13
31 douglas 900 echo 'host=douglaspc.douglasthrift.net' | ./hostupdate.cgi

Properties

Name Value
svn:eol-style native
svn:executable *
svn:keywords Id