[K12OSN] OT: Reverse proxy for internal websites

Peter Hartmann ascensiontech at gmail.com
Sat Jan 12 06:00:49 UTC 2008


Oh well why didn't you say so!   :)  Mind the double forward slashes
and 'Keep Alives' on the IIS side.

<VirtualHost 10.1.1.7:80>
#    ServerAdmin webmaster at dummy-host.example.com
    ServerName server.name.com
ProxyRequests Off
ProxyPreserveHost On

<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyPass / http://10.1.1.3/
ProxyPassReverse / http://10.1.1.3/
ProxyPass /exchange http://10.1.1.3/exchange//
ProxyPassReverse /exchange http://10.1.1.3/exchange//
ProxyPass /Exchange http://10.1.1.3/exchange//
ProxyPassReverse /Exchange http://10.1.1.3/exchange//
ProxyPass /exchweb http://10.1.1.3/exchweb//
ProxyPassReverse /exchweb http://10.1.1.3/exchweb//
ProxyPass /public http://10.1.1.3/public//
ProxyPassReverse /public http://10.1.1.3/public//
ProxyPass /iisadmpwd http://10.1.1.3/iisadmpwd//
ProxyPassReverse /iisadmpwd http://10.1.1.3/iisadmpw//

ProxyPass /exchange/ http://10.1.1.3/exchange//
ProxyPassReverse /exchange/ http://10.1.1.3/exchange//
ProxyPass /Exchange/ http://10.1.1.3/exchange//
ProxyPassReverse /Exchange/ http://10.1.1.3/exchange//
ProxyPass /exchweb/ http://10.1.1.3/exchweb//
ProxyPassReverse /exchweb/ http://10.1.1.3/exchweb//
ProxyPass /public/ http://10.1.1.3/public//
ProxyPassReverse /public/ http://10.1.1.3/public//
ProxyPass /iisadmpwd/ http://10.1.1.3/iisadmpwd//
ProxyPassReverse /iisadmpwd/ http://10.1.1.3/iisadmpw//

</VirtualHost>


On Jan 11, 2008 9:01 PM, David Hopkins <dahopkins429 at gmail.com> wrote:
> Thanks for the examples. They work except for one notable exception:
> Reverse proxying my Exchange server OWA connection so I don't have to
> have the OWA server facing the internet.  There are numerous examples
> found by google, none of which seem to work.  I have spent a few days
> trying to get the OWA proxy to work and no luck at all. Oh well :(
>
> Sincerely,
> Dave Hopkins
>
>
> 2008/1/7 Harish Pillay <harish.pillay at gmail.com>:
>
> > David -
> >
> > > I want to be able to serve several different internal websites via
> > > http and https but only have one redirect at the router for ports 80
> > > and 443 to an internal system.  I can run squid or apache2 or both on
> > > that internal system.  What I had in mind was setting up this internal
> > > system to redirect the external requests to the appropriate internal
> > > servers based on the hostnames. The internal network uses a 10.
> > > address space if that makes a difference.  Both squid and apache2 can
> > > be set up for reverse proxying.  Has anyone on the list implemented
> > > this and is there a preference for which one to use?
> >
> > I had done exactly that for a programming contest I ran which needed
> > to access internal servers.
> >
> > Here's the zipped up httpd.conf file.
> >
> > Enjoy.
> > --
> > Harish Pillay h.pillay at ieee.org gpg id: 746809E3
> > fingerprint: F7F5 5CCD 25B9 FC25 303E 3DA2 0F80 27DB 7468 09E3
> >
>
> > _______________________________________________
> > K12OSN mailing list
> > K12OSN at redhat.com
> > https://www.redhat.com/mailman/listinfo/k12osn
> > For more info see <http://www.k12os.org>
> >
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>




More information about the K12OSN mailing list