You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "giovanni.formenti@libero.it" <gi...@libero.it> on 2008/12/24 00:19:35 UTC

[users@httpd] Use Apache as proxy to redirect requests

Hi,
I have an Apache HTTP Server that must forward requests to another server 
inside my intranet, for example a request to http://172.10.19.1
/proxy/aaa/bbb/ccc.html (where 172.10.19.1 is the HTTP Server address) must be 
redirect to http://172.10.19.20/aaa/bbb/ccc.html.
What are the configuration I 
have to write in the httpd.conf?

Thanks in advance to any information on this

Best Regards,
Gio

---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Use Apache as proxy to redirect requests

Posted by Brian Mearns <me...@gmail.com>.
You'll probably want to use mod_proxy. There's a whole section on it
in the manual: http://httpd.apache.org/docs/2.2/mod/mod_proxy.html

--

Feel free to contact me using PGP Encryption:
Key Id: 0x3AA70848
Available from: http://pgp.mit.edu/



On Tue, Dec 23, 2008 at 6:19 PM, giovanni.formenti@libero.it
<gi...@libero.it> wrote:
> Hi,
> I have an Apache HTTP Server that must forward requests to another server
> inside my intranet, for example a request to http://172.10.19.1
> /proxy/aaa/bbb/ccc.html (where 172.10.19.1 is the HTTP Server address) must be
> redirect to http://172.10.19.20/aaa/bbb/ccc.html.
> What are the configuration I
> have to write in the httpd.conf?
>
> Thanks in advance to any information on this
>
> Best Regards,
> Gio
>
> ---------------------------------------------------------------------
> 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
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org