LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   apache as proxy (https://www.linuxquestions.org/questions/linux-newbie-8/apache-as-proxy-770940/)

nagavinodh 11-23-2009 04:34 AM

apache as proxy
 
Hi,

Still we are in problem.so i posted again here.
we installed the apache2.0.63 on 172.19.0.25 in red hat 4.
we want to configure the apache as a proxy server.
we have few applications in different machines both (windows 2003,red hat 4.2).we would like to redirect all the applications via apache(172.19.0.25)
and also we need to access these application via local network and Web aand https.

Local

172.19.0.31(windows 2003) has two applications.
First one is http://172.19.0.31:1008/ -------> application name support
Second one is http://172.19.0.31:7070/ -----> application name pro

172.19.0.23(red hat 4.2) has two Oracle Apps.the port number is 8015,8025.
First one is http://172.19.0.23:8015/ -------> Oracle instance name idev
Second one is http://172.19.0.23:8025/ -----> Oracle instance name prod

Web

we have DNS entries for the applications to access by WEB.

web url *Internal URL(LAN*)

ebs.pivo.com <------------------- http://172.19.0.23:8015/
ebs1.pivo.com <------------------- http://172.19.0.23:8025/

support.pivo.com <------------------- http://172.19.0.31:1008/
pro.pivo.com <------------------- http://172.19.0.31:7070/

TB0ne 11-23-2009 08:48 AM

Quote:

Originally Posted by nagavinodh (Post 3766517)
Hi,

Still we are in problem.so i posted again here.
we installed the apache2.0.63 on 172.19.0.25 in red hat 4.
we want to configure the apache as a proxy server.
we have few applications in different machines both (windows 2003,red hat 4.2).we would like to redirect all the applications via apache(172.19.0.25)
and also we need to access these application via local network and Web aand https.

Yes, this is the same question you posted before...but you still don't say WHAT PROBLEM YOU'RE HAVING.

If you want to set up Apache proxy, there are many how-to guides that can be found through Google, like this one:
http://www.linuxhelp.net/guides/apacheproxy/

You can also set up Squid proxy server too...that has its own setup guides. If you have a specific problem, please post it, along with what you've tried. Just saying what you WANT to do, won't get you a step-by-step, customized installation guide.

nagavinodh 11-24-2009 11:54 PM

Hi,
thanks for reply.
We configured the apache 2.0.63 and ssl.

we added the entries into httpd.conf for first application.


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

when we type the url https://support.pivo.com/ in browser,it is working through PROXY.

again we append the following entries for another application.


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

when we type the url https://pro.pivo.com/ in browser,First application only working i
(ie)-both urls https://pro.pivo.com/ and https://support.pivo.com/ running same application.

how to differntiate that?


All times are GMT -5. The time now is 12:10 AM.