ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/HostUpdate/test.sh
(Generate patch)

Comparing:
HostUpdate/env (file contents), Revision 14 by Douglas Thrift, 2003-11-07T23:04:39-08:00 vs.
HostUpdate/test.sh (file contents), Revision 900 by douglas, 2007-04-29T02:26:40-07:00

# Line 1 | Line 1
1 < #!/usr/bin/bash
1 > #!/usr/bin/env bash
2   # Host Update
3   #
4   # Douglas Thrift
5   #
6   # $Id$
7  
8 # perl client env
8   export CONTENT_LENGTH="32"
9   export CONTENT_TYPE="application/x-www-form-urlencoded"
10   export DOCUMENT_ROOT="D:/Apache Group/Apache2/htdocs"
# Line 15 | Line 14 | 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 < export REMOTE_ADDR="128.111.182.132"
17 > export REMOTE_ADDR="169.231.20.24"
18   export REMOTE_PORT="3373"
19   export REQUEST_METHOD="POST"
20   export REQUEST_URI="/cgi-bin/hostupdate.exe"
# Line 29 | Line 28 | 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  
31 < # normal env
33 < #?
31 > echo 'host=douglaspc.douglasthrift.net' | ./hostupdate.cgi

Comparing:
HostUpdate/env (property svn:executable), Revision 14 by Douglas Thrift, 2003-11-07T23:04:39-08:00 vs.
HostUpdate/test.sh (property svn:executable), Revision 900 by douglas, 2007-04-29T02:26:40-07:00

# Line 0 | Line 1
1 + *

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines