summaryrefslogtreecommitdiff
path: root/cgi-bin/sop_proxy.pl
diff options
context:
space:
mode:
authorMike Crute <mcrute@gmail.com>2010-01-17 12:06:15 -0500
committerMike Crute <mcrute@gmail.com>2010-01-17 12:06:15 -0500
commit55974d21a824378b287e563bce4c32597060cfca (patch)
treeff8426efe10ff98189fee26583f061fb08f19a50 /cgi-bin/sop_proxy.pl
downloadsantoprene_designer_site-55974d21a824378b287e563bce4c32597060cfca.tar.bz2
santoprene_designer_site-55974d21a824378b287e563bce4c32597060cfca.tar.xz
santoprene_designer_site-55974d21a824378b287e563bce4c32597060cfca.zip
Initial importHEADmaster
Diffstat (limited to 'cgi-bin/sop_proxy.pl')
-rwxr-xr-xcgi-bin/sop_proxy.pl18
1 files changed, 18 insertions, 0 deletions
diff --git a/cgi-bin/sop_proxy.pl b/cgi-bin/sop_proxy.pl
new file mode 100755
index 0000000..4a3b370
--- /dev/null
+++ b/cgi-bin/sop_proxy.pl
@@ -0,0 +1,18 @@
1#!/usr/bin/perl
2
3#
4# Perl Based Same Origin Proxy
5#
6
7$|=1;
8
9srand;
10use strict;
11
12use Apache::Request;
13use LWP::Simple;
14
15my $r = Apache::Request->new(Apache->request);
16$r->send_http_header('text/javascript');
17
18print get $r->param('site');