On Wed, 28 May 2008, Keith Barber wrote:
> Does anybody know if the the proxy in MT can send any data like the hotspot
> does?
I doubt it. The hotspot code replaces certain tags in its own template
files. It is unlikely that the proxy will do the same on some arbitrary
url.
> For instance, the hotspot will pass the URL that the person is trying to go
> to, which can then be taken from the POST data and re-used later.? Is there
> any way to do this with the proxy??
>
> So I when I deny a site, the redirect page actually shows what URL was denied?
I'm assuming you're having the proxy redirect to some CGI script. If so,
you could try checking the HTTP Referer header. It's possible that in
this context (transparent redirect from proxy to another URL) the browser
and/or proxy will report the originally requested URL in that header.
Here's a quick perl script that you could try (I don't have a proxy
setup to test it)...
#!/usr/bin/perl
use CGI;
my $cgi = new CGI();
print $cgi->header('text/html') . "\n";
print "You came from here: " . $cgi->referer() . "\n";
exit(0);
Regards,
-Kristian