[ale] (no subject)

Brian MacLeod bmacleod at guc.usg.edu
Fri Nov 12 18:10:09 EST 2004


Really sounds like what you are looking to do is configure a reverse
proxy, and with rewrite capability.  Do a search for reverse proxy on
the net, if you haven't done so.

I have tried this, with limited success.  Very limited.  A static web
page, and a few with PHP worked fine, but anytime the system encountered
Java*, it was done.  Also, clicking on some links would redirect them to
the real site, instead of through the proxy, which of course is not what
you want.  Also, even some non-Java enabled pages just looked really
weird in the set up.

Squid is probably not what you will want to use, unless things have
changed recently.  When I had my dinky little reverse working, it was
with Apache in proxy mode, with mod_proxy, mod_proxy_rewrite (I think
this is what it was).

We were trying to allow students access to paid databases that were only
accessible from internal machines.  A product was offered that cost $$,
but was simple to set up and let run.  It was called EZProxy.  I'd say
buy it, because I spent most of two weeks hacking at this problem at
work, only to get the poor results stated above. 

Unless you are really hell-bent on rolling your own...

Yes, it runs on Linux.


bnm
 

> -----Original Message-----
> From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On 
> Behalf Of Christopher Fowler
> Sent: Friday, November 12, 2004 4:17 PM
> To: Andy Warner
> Cc: ale at ale.org
> Subject: [ale] Re: Next proxy question
> 
> I'm trying to allow browsers access to the ENS web interface 
> without the user having to go into preferences and setup a 
> proxy then when they are ready for the internet they remove 
> that setting.
> 
> Lest say I do http://192.168.1.201:8000/www.google.com
> 
> Here is what my perl program says:
> 
> 
> 
> [root at sam-devel SAM]# ./proxy.pl
> GET /www.google.com HTTP/1.1
> 
> I'm not suer if it is feasible to create a system like I 
> want. in Perl with ease.  what happens if a user clicks on a 
> link on a device will iot look like this:
> 
> http://192.168.1.201:8000/10.0.5.176/cgi-bin/ports
> 
> a select() may not do.  It may as Fletch at ALE stated require 
> implementation of LWP and a middle man to do all the work.
> 
> In the ens I would like to chain the proxy so that an ENS can 
> have a proxy too.
> 
> http://192.168.1.201:8000/10.0.5.176/192.168.1.1/index.html
> 
> That looks awful!
> 
> 
> 
>  
> On Fri, 2004-11-12 at 15:58, Andy Warner wrote:
> > Christopher Fowler wrote:
> > > ERROR
> > > The requested URL could not be retrieved
> > > 
> > > 
> ____________________________________________________________________
> > > ____
> > > 
> > > While trying to retrieve the URL: /http://10.5.5.176/
> > 
> > So, if you drop the leading / ?
> > 
> > > > 	http://192.168.3.1:8131/http://10.5.5.176/
> > 
> > e.g. http://192.168.3.1:8131http://10.5.5.176/
> > 
> > I'm betting that won't work either.
> > 
> > You could do this with redirection, perhaps; but I don't 
> know if you 
> > can accomplish what you want purely through redirection.
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
> 



More information about the Ale mailing list