LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-12-2009, 04:53 AM   #1
nagavinodh
Member
 
Registered: Aug 2009
Posts: 118

Rep: Reputation: 15
proxy pass


Hi,
Again iam positng here.
what is proxy pass in apache?

i red the following urls.

http://httpd.apache.org/docs/2.2/mod...html#proxypass



ProxyPass /mirror/foo/ http://backend.example.com/

what is the meaning of /mirror/foo/

what is the meaning of http://backend.example.com/


Please explain me for that and consider the following scneraio

Apache 2.0.63 is installed at 172.19.0.25(ebs.yan.com) in red hat

Two applications are running at 172.19.0.31:1008(ser.yan.com) and second is 172.19.0.31:7070(ser.yan.com) in windwos.

i added the entries into httpd.conf at ebs.yan.com.

<IfModule mod_proxy.c>
ProxyPass / http://172.19.0.31:1008/
ProxyPassReverse / http://172.19.0.31:1008/
</IfModule>

the above applications working fine when i type http://ebs.yan.com/ instead of http://ser.yan.com/.


Again i added the entries for second applications http://172.19.0.31:7070/


<IfModule mod_proxy.c>
ProxyPass /help http://172.19.0.31:7070/
ProxyPassReverse /help http://172.19.0.31:7070/
</IfModule>

we added /help for difference from first application to second application.

Now only first application is working when i type http://ebs.yan.com/.


For the second application i got the follwoings
http://ebs.pivotix.com/help/index.html
the when i type http://ebs.yan.com/.


My question is how to differ the two applications for proxy in apache.
 
Old 12-14-2009, 03:04 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
It is because / catched /help as well, if you want to access both, use virtual hosting with different servernames for each.
 
  


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
pass-through proxy server & kerberos mwithers Linux - Newbie 0 09-30-2008 11:56 AM
newbie: how to get pass proxy server??? sirpelidor Ubuntu 4 03-31-2008 06:36 PM
apache proxy/pass SSL singersoll Linux - Server 3 08-22-2007 02:48 AM
I want to by pass my proxy server's ACL i.e squid aTkAl^^PiTcHu Linux - Software 4 09-06-2006 03:16 PM
Apache mod_proxy Proxy Pass dancarl Linux - Software 0 08-15-2005 12:10 PM

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

All times are GMT -5. The time now is 02:31 AM.

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
Open Source Consulting | Domain Registration