Solved

reverse proxy Apache server

Posted on 2010-08-30
2
304 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
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
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…
In this video we show how to create a mailbox database 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 >> Data…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

810 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