Apache Reverse proxy for intranet and other integrated application on intranet

Posted by user1433448 on Server Fault See other posts from Server Fault or by user1433448
Published on 2012-06-03T11:38:20Z Indexed on 2012/06/03 22:41 UTC
Read the original article Hit count: 422

Filed under:
|
|
|
|

I'm trying to configure a reverse proxy (ssl) with apache 2.2 in Debian Squeeze, but I have some problems, specially with some path absolute and with https

I'll try to detail what I have made and what I'm trying to configure
I have a server Debian Squeeze with apache2.2 + mod_proxy_html with:
    # apt-get  install libapache2-mod-proxy-html libxml2-dev
    # a2enmod proxy
    # a2enmod proxy_http
    # a2enmod proxy_html
    # a2enmod headers

After that I have configured a virtual host with:
reverse_proxy_ssl.conf


I'm trying to configure to allow access of our intranet from internet with
a reverse proxy (apache that is located in DMZ). With this configuration
domain.com/intranet works correctly and we can access to intranet, but we
have one problem when from domain.com/intranet we need to use another
internal application that is called from intranet with absolute path (
https://192.168.10.25/application/) and from internet appears that try to
access with internal ip, and this link es incorrect from external site

We only need to access from intranet to multiple internal application that
are in external server and we like to restrict to minimal access from
internet. All the application that are in the smae server of intranet are
working.

The second problem is with https and reverse proxy in our firewall appears
some errors with packets (not valid packets), and with https seems to work.

What can I do to solve this problems (absolute path and ssl problem)

Thanks

© Server Fault or respective owner

Related posts about apache2

Related posts about ssl