[95265] in RedHat Linux List
Re: Question about webserver proxies and internal networks.
daemon@ATHENA.MIT.EDU (Jeremy Hansen)
Fri Oct 16 11:31:09 1998
Date: Fri, 16 Oct 1998 11:35:55 -0400 (EDT)
From: Jeremy Hansen <jeremy@xxedgexx.com>
To: Linux Servers mailing list <SERVER-LINUX@NETSPACE.ORG>
cc: redhat-list@redhat.com, linux-admin@vger.rutgers.edu,
linux-config@vger.rutgers.edu
In-Reply-To: <Pine.LNX.3.91.981016082255.26223A-100000@localhost>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
Ok, I've been trying to use redir now, but I'm running into another
problem and I suspect that it's Apache's fault and not the redirector.
real.machine.com:9000 => internal.machine.com:80
The index page that exists on internal.machine.com:80 has some links to
specific mrtg devices. These links are just local file pointers, you know
<a href="filename.html">. Well for some reason that I can't figure out,
when I click on one of links on the index.html page through
real.machine.com:9000, the web server tries to contact real.machine.com
and not real.machine.com:9000 therefore screwing everything up. What
really boggles my mind is the clients seems to recognize the url and port
in the link. When I point to the link, that Netscape status says:
http://real.machine.com:9000/filename.html
I hope that wasn't confusing.
So, is this an apache/web server httpd thing?
I'm going to try the ipautofw stuff next.
Thanks for the help.
> Hi Jeremy,
>
> I have been using "redir" for quite a while now to accomplish something
> similar to what you are trying to do. If you can't find redir on the
> search sites, let me know and I will dig up a URL for you.
>
> -Rod
>
>
> Rod Troch N2ZVV |
> troch@texas.com | Don't mess with TEXAS.
> http://www.texas.com/ |
> ftp://lonestar.texas.com/ | FTP for PGP key
>
> On Thu, 15 Oct 1998, Jeremy Hansen wrote:
>
> > Date: Thu, 15 Oct 1998 19:58:21 -0400
> > From: Jeremy Hansen <jeremy@XXEDGEXX.COM>
> > To: SERVER-LINUX@netspace.org
> > Subject: Question about webserver proxies and internal networks.
> >
> > Here's the situation. We have an internal machine (192.168.x.x)
> > which collects mrtg reports. This machine has no logical addresses.
> > We would like to access the information on this machine from a
> > machine with a logical address.
> >
> > http://blah.blah.com:9000 => http://192.168.x.x:80
> >
> > Now, I've looked at a couple things but they all don't seem
> > to do the job quite the way I want it. I tried using Apache
> > proxy directives ProxyPass, etc, but this works only for the
> > root page for some reason. I tried using rinetd, which is
> > basically just a daemon that passes alternate ports from a
> > logical address to a machine that's in its route inside the
> > network. This also has some problems.
> >
> > What is everyone else using to do this? What should I look
> > at?
> >
> > Thanks
> > -jeremy
> >
>
http://www.xxedgexx.com | jeremy@xxedgexx.com
| pgp available from:
| http://www.xxedgexx.com/pgp.html
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.