You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mohanavelu Subramanian <mh...@gmail.com> on 2016/07/14 09:18:06 UTC

[users@httpd] Apache as forward and reverse proxy

Hi All,

I want to configure apache server to act as both forward and reverse proxy.

The official doc says "Apache can be configured in both a forward and
reverse proxy mode."

But there is also another statement "In a typical reverse proxy
configuration, this option ProxyRequests Directive should be set to Off."

Could you please confirm me , can apache server be configured to act as
both forward and reverse proxy?
If possible, can you please the configuration for the same.

Thanks in Advance.

Best Regards,
Mohan

Re: [users@httpd] Apache as forward and reverse proxy

Posted by Mohanavelu Subramanian <mh...@gmail.com>.
Hi Nick,
Thanks a lot for the inputs.

Could you please the share some configuration for the same, if you have any
for reference.

Thanks & Regards,
Mohan
On 14-Jul-2016 4:00 pm, "Nick Kew" <ni...@webthing.com> wrote:

> On Thu, 2016-07-14 at 14:48 +0530, Mohanavelu Subramanian wrote:
>
>
> > But there is also another statement "In a typical reverse proxy
> > configuration, this option ProxyRequests Directive should be set to
> > Off."
>
> Because most people running a reverse proxy don't want to run
> a forward proxy.
>
> If you want to run both, I'd suggest keeping the reverse proxy
> in a virtualhost with proxyrequests off, so you separate it from
> the forward proxy.  The latter must of course be appropriately
> secured against being open to abuse.
>
> --
> Nick Kew
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Re: [users@httpd] Apache as forward and reverse proxy

Posted by Nick Kew <ni...@webthing.com>.
On Thu, 2016-07-14 at 14:48 +0530, Mohanavelu Subramanian wrote:


> But there is also another statement "In a typical reverse proxy
> configuration, this option ProxyRequests Directive should be set to
> Off."

Because most people running a reverse proxy don't want to run
a forward proxy.

If you want to run both, I'd suggest keeping the reverse proxy
in a virtualhost with proxyrequests off, so you separate it from
the forward proxy.  The latter must of course be appropriately
secured against being open to abuse.

-- 
Nick Kew


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org