You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Chien-Lung Wu <cw...@unity.ncsu.edu> on 2002/04/19 00:27:01 UTC

Using Apache server as rever proxy --help

Hi,

I am working on the reverse proxy using Apache server (1.3x) in Linux
(RH7.1)

Can any show me how to turn the httpd.conf to support reverse proxy
function.


The configuration for my test-bed is:


			    www.student.edu
http request --------------->(linux) rever proxy ---->my real web server
(http://www.student.edu)			      www1.student.cs.edu

As I understand, the client (user) just have the idea of
"www.student.edu"; but as the proxy server, the request will relay to the
real web server -- www1.student.cs.edu. Am I right?

And how can I configure  Apache server to approach this request?
Can any point out the Linux/apache rever proxy for me? Thanks.


Chien-Lung

****************************************************************************
Chien-Lung Wu						cwu4@eos.ncsu.edu
Graduate Student of ECE 				(O) 919-513-1894
at North Carolina State University			(H) 919-233-6724
****************************************************************************




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Using Apache server as rever proxy --help

Posted by Hans Juergen von Lengerke <le...@sixt.de>.
Chien-Lung Wu <cw...@unity.ncsu.edu> on Apr 18, 2002:

> The configuration for my test-bed is:
>
>
> 			    www.student.edu
> http request --------------->(linux) rever proxy ---->my real web server
> (http://www.student.edu)			      www1.student.cs.edu
>
> As I understand, the client (user) just have the idea of
> "www.student.edu"; but as the proxy server, the request will relay to the
> real web server -- www1.student.cs.edu. Am I right?

Yes, thats right.

> And how can I configure  Apache server to approach this request?
> Can any point out the Linux/apache rever proxy for me? Thanks.

You want these directives:

    ProxyPass         /  http://www1.student.cs.edu/
    ProxyPassReverse  /  http://www1.student.cs.edu/

Check out http://httpd.apache.org/docs/mod/mod_proxy.html


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org