LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-03-2012, 09:57 AM   #1
Volcano
Member
 
Registered: Sep 2005
Posts: 172

Rep: Reputation: 15
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

Last edited by Volcano; 05-03-2012 at 10:03 AM.
 
Old 05-03-2012, 10:26 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,843

Rep: Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596
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
 
Old 05-03-2012, 11:27 AM   #3
Volcano
Member
 
Registered: Sep 2005
Posts: 172

Original Poster
Rep: Reputation: 15
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.

Last edited by Volcano; 05-03-2012 at 11:32 AM.
 
Old 05-03-2012, 12:50 PM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,843

Rep: Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596
Quote:
Originally Posted by Volcano View Post
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
 
Old 05-03-2012, 01:02 PM   #5
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
reverse proxy zacetnik Linux - Newbie 2 04-18-2011 06:49 PM
Reverse Proxy??? jantman Linux - Server 2 12-07-2007 06:01 PM
Squid as Reverse Proxy and LAN proxy? zivota Linux - Security 2 02-26-2007 05:00 PM
reverse proxy? bwall Linux - Newbie 1 11-22-2005 07:42 PM
still trying to reverse proxy wildbob Linux - Networking 6 10-28-2003 09:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration