Solved

reverse proxy Apache server

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
In this video we show how to create an email address policy 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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

856 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