Thanks for the tip, but looks like no love from the MT proxy redirect. Which is stupid, because if you don't redirect & simply deny them access, the MT shows it's default page which tells them where they were trying to go and that access is denied.
Oh well. Thanks for the help. -Keith- ----- Original Message ----- From: Kristian Hoffmann <[EMAIL PROTECTED]> Sent: Thu, 5/29/2008 12:40am To: Mikrotik discussions <[email protected]> Subject: Re: [Mikrotik] MT Proxy *** SCALIX IS UNABLE TO PARSE THE MESSAGE PART1 because it is not valid Mime ***<br/> java.io.UnsupportedEncodingException: X-UNKNOWN<br/> attempting to get the raw contents:<br/> On Wed, 28 May 2008, Keith Barber wrote: > Does anybody know if the the proxy in MT can send any data like the hot= spot 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 t= o go to, which can then be taken from the POST data and re-used later.=A0= Is there any way to do this with the proxy?=A0 > > So I when I deny a site, the redirect page actually shows what URL was d= enied? 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 =3D new CGI(); print $cgi->header('text/html') . "\n"; print "You came from here: " . $cgi->referer() . "\n"; exit(0); Regards, -Kristian _______________________________________________ Mikrotik mailing list [email protected] http://www.butchevans.com/mailman/listinfo/mikrotik

