LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Reverse Proxy (https://www.linuxquestions.org/questions/linux-newbie-8/reverse-proxy-943107/)

Volcano 05-03-2012 09:57 AM

Reverse Proxy
 
I see they share same link so how Reverse Proxy and Forward proxy are different ? how they are different ?



ProxyPass /foo http://foo.example.com/bar
ProxyPassReverse /foo http://foo.example.com/bar

source: http://httpd.apache.org/docs/2.4/mod/mod_proxy.html

bathory 05-03-2012 10:26 AM

Hi,

They share the same link, as they are both part of mod_proxy. The difference is in the directives used to define a reverse or forward proxy.
See the basic usage examples here

Regards

Volcano 05-03-2012 11:27 AM

well, I too copied the example from there really.

Anyway, are you trying to say they are differed only by directives ? rests are same.

I dont think so. I guess they have different functionality.I just dont understand how they are different from functional point of view.

bathory 05-03-2012 12:50 PM

Quote:

Originally Posted by Volcano (Post 4669551)
well, I too copied the example from there really.

Anyway, are you trying to say they are differed only by directives ? rests are same.

I dont think so. I guess they have different functionality.I just dont understand how they are different from functional point of view.

Of course they have a different functionality. A forward proxy is used to connect a client to a webserver, in cases the client does not have direct internet access, or if to cache content for speeding things up and so on.
A reverse proxy is used to connect to a server that is not directly accessible from the net.
For a better explanation, have a look at wikipedia

Regards

Satyaveer Arya 05-03-2012 01:02 PM

For a very simple understanding, difference between them you can check here, http://stackoverflow.com/questions/2...=votes#tab-top.


All times are GMT -5. The time now is 07:22 PM.