Solved

reverse proxy Apache server

Posted on 2010-08-30
2
307 Views
Last Modified: 2012-08-13

Hi,

I want to configure a Apache server for reverse proxy.
And find some usefull stuff on this forum and other websites. But everything is configure
with ProxyPass /app1 http://internalsite:80/

My question is can i configure the proxy as this:

visit http://www.domain.com (outside) true http://internalsite1:80/
visit http://mail.domain.com (outside) true http://internalsite2:80/
visit http://sharepoint.domain.com (outside) true http://internalsite3:80/


Thanks
0
Comment
Question by:jonas-p
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 33

Expert Comment

by:Busbar
ID: 33561920
0
 
LVL 26

Accepted Solution

by:
arober11 earned 500 total points
ID: 33578332
Hi, simple just add the appropriate proxy pass / reverse blocks to your three Virtual host definitions, in you httpd.conf e.g.

<VirtualHost www.domain.com:80>
...
  <Proxy *>
  Order deny,allow
  Allow from all
  </Proxy>

  ProxyPassReverse /           http://internalsite1:80/
  ProxyPassReverse /           http://internalsite1:80/
</Virtualhost>

<VirtualHost mail.domain.com:80>
...
  <Proxy *>
  Order deny,allow
  Allow from all
  </Proxy>

  ProxyPassReverse /           http://internalsite2:80/
  ProxyPassReverse /           http://internalsite2:80/
</Virtualhost>


<VirtualHost sharepoint.domain.com:80>
...
  <Proxy *>
  Order deny,allow
  Allow from all
  </Proxy>

  ProxyPassReverse /           http://internalsite3:80/
  ProxyPassReverse /           http://internalsite3:80/
</Virtualhost>


The following may help you tailor each of the 3 proxy blocks: http://www.apachetutor.org/admin/reverseproxies
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question