well, the url it would work on is
Here is the first little bit of source on that page:
---------------
<HTML>
<!--#exec cgi="../cgi-bin/thebouncer.cgi" -->
<HEAD>
<TITLE>Poll</TITLE>
</HEAD>
---------------
However, when you view the source, it just shows a blank space where the ssi tag is. I have tried a ssi tag to show the referer, and that worked fine. But, this one doesn't. Could it be because of the ads or something?
Here is what my thebouncer.cgi script looks like (yes, the path to perl is correct):
#!/usr/bin/perl
######
# The Bouncer by Jimmy (wordx@hotmail.com) for SmartCGIs.com
######
##############
# This is where you want to send people if they are coming from an invalid referrer.
$redirect = '
##############
# These are the URLs from where people are allowed to be coming from (your site).
# If you want people to just come from one page, put
# If you want people to be able to come from any page located on a domain, put just
# You don't need to include the http:// or the trailing slash (/) in the URL.
# Put as many as you want, seperate them by , and put them inside ' '
@sites = ('
##############################
##############################
# DO NOT edit anything below #
##############################
##
#
print "Content-type: text/html\n\n";
$referer = $ENV{'HTTP_REFERER'};
if($referer eq ""

{ &redirect; }
foreach $site(@sites) {
if($referer =~ /$site/i) { print ""; exit; }
}
&redirect;
sub redirect {
print <<EOF;
<META HTTP-EQUIV=REFRESH CONTENT="2; URL=$redirect; target=_top">
<center>
<br><font color=red>You do not have access to this page! You are being redirected...</font><br>
</center>
EOF
exit;
}