Apache proxy

Apache proxy

Post by Carsten Gramme » Wed, 14 Apr 1999 04:00:00



I have a configuration problem that could be nearly (!) solved
with Apache proxy options.

I have 2 internal webservers intern1.my.com and intern2.my.com
I have a gateway machine that should be www.my.com.
On the gateway machine apache runs.
The gateway should redirect www.my.com/intern2/* to intern2.my.com/*
(invisible for the client). So far so good, that can be done fine
with the proxy settings.

Then I want to redirect all the rest (!) to intern1.my.com/*
But: the client should not see paths like www.my.com/intern1/* but only
www.my.com/*

I thought of adding proxy rules for "/" but that soes not seem to work,
nor is there a "default" setting for proxy rules.

I even tried rewriting rules but these are visible to the client.

Can anybody give me a simple solution?

Thanks,
Carsten.

--
*********************************************************************

Tel ++49 6897 935-0

I want to die peacefully in sleep like my grandfather.  
Not screaming in terror like his passengers.

 
 
 

Apache proxy

Post by Ron Klatchk » Fri, 16 Apr 1999 04:00:00



> I have 2 internal webservers intern1.my.com and intern2.my.com
> I have a gateway machine that should be www.my.com.
> On the gateway machine apache runs.
> The gateway should redirect www.my.com/intern2/* to intern2.my.com/*
> (invisible for the client). So far so good, that can be done fine
> with the proxy settings.

> Then I want to redirect all the rest (!) to intern1.my.com/*
> But: the client should not see paths like www.my.com/intern1/* but only
> www.my.com/*

Internal proxy redirects are dependent on the order in which you
configure them.  If you did something like:

ProxyPass /intern2 http://intern2.my.com/
ProxyPass / http://intern1.my.com/

You should get the behaviour you're looking for.

moo
----------------------------------------------------------------------
          Ron Klatchko - Manager, Advanced Technology Group          
           UCSF Library and Center for Knowledge Management          


 
 
 

Apache proxy

Post by Carsten Gramme » Sun, 18 Apr 1999 04:00:00


: ProxyPass /intern2 http://intern2.my.com/
: ProxyPass / http://intern1.my.com/

: You should get the behaviour you're looking for.

Unfortunately it seems that "/" is not treated in the way one would
like it to have that is "match to everything". Any other idea or a
hint how to enable "/" work as I'd like o have it?

Thanks,
Carsten.

--
*********************************************************************

Tel ++49 6897 935-0

I want to die peacefully in sleep like my grandfather.  
Not screaming in terror like his passengers.

 
 
 

1. Apache proxy to Netscape proxy

I have a software application that can use a proxy server without username/
password authentication.  My company's proxy server requires username/
password, so this software package doesn't work through Netscape's proxy
server.

Has anyone chained the Apache proxy server through a Netscape proxy
server, while adding a username/password field?  Granted, I would probably
have to have a fixed username and password in the Apache configuration, but
that's not a problem.

Any ideas?  Thanks-

-Eric

--
Eric Pylko                               Phone: (716) 781-9770
Network Engineer                         Fax:   (716) 724-9440

2. Cannot open the website for the server without networkcard?

3. Apache proxy to another proxy?

4. TrueType font server quetsion

5. Apache Proxy: Virtual Proxy Server (??)

6. RH 5.2 install from proprietary CDROM

7. Apache proxy server: how can administrator set all browsers to default to proxy?

8. udma mode detection in Windows or Linux

9. Apache proxy log, how to split to cache & proxy?

10. Apache server behind Apache proxy / CGI environment question

11. Q for apache GURUs: Apache Proxy and User Auth.

12. Apache Proxy and Apache server at startup

13. frontend apache proxy to backend apache for balancing.