Solved

reverse proxy Apache server

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Check out this infographic on what you need to make a good email signature that will work perfectly for your organization.
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
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…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now