httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GB GB <>
Subject Re: [users@httpd] Configuring Reverse proxy with Apache Http Server2.2
Date Fri, 23 Apr 2010 16:15:20 GMT
My apache server is dated, but this is what I did in order to make it work

in ssl.conf

client-->apache reverse proxy-->backend http application server

ServerAlias mydomain
ProxyBadHeader Ignore
ProxyRequests Off
#ProxyPreserveHost On
RewriteEngine On
SSLProxyEngine on

ProxyPass /lsw
<Location /lsw>
        RequestHeader    unset  Accept-Encoding

On Fri, Apr 23, 2010 at 11:47 AM, Tapan Maheshwari <> wrote:
> I have installed Apache HttpServer (v2.2) on WindowsXP machine and trying to configure
Reverse-Proxy within Apache HTTPServer, which will act as a proxy to an J2EE ApplicationServer(Weblogic)
running on a SEPARATE Machine.
> The application is installed on J2EE Server (including images, html pages, css, javascript
etc), there is no content on Apache http server.
> I could open the home page by typing http://localhost:8080/ , which opens up the home
page from the j2ee application server, however the issues is that if any link or button is
clicked on the homepage then it redirects to the j2ee server and browser displays the URL/IP
of J2ee server which it should not as this is proxied.
> It appears that the ProxyHTMLURLMap directive is not working properly, it is not able
to rewrite the URL of j2ee server with the url of proxy server, these URL's which points to
the J2EE server are contained in the Javascript (.js) & .css files and are not rewritten
by ProxyHTMLURLMap directive
> Following are the contents of httpd.conf
> LoadModule headers_module modules/
> LoadFile "C:\softwares\apachehttp\bin\iconv.dll"
> LoadFile "C:\softwares\apachehttp\bin\zlib1.dll"
> LoadFile "C:\softwares\apachehttp\bin\libxml2.dll"
> LoadModule proxy_module modules/
> LoadModule proxy_http_module modules/
> LoadModule proxy_html_module modules/
> LoadModule xml2enc_module modules/
> LoadModule rewrite_module modules/
> Include "conf/extra/proxy_html.conf"
> ProxyRequests off
> ProxyPass /myapp/
> ProxyHTMLURLMap /myapp
> <Location /myapp/>
>  ProxyPassReverse
>  SetOutputFilter proxy-html
>  ProxyHTMLURLMap /            /myapp/
>  ProxyHTMLURLMap /myapp      /myapp
> </Location>
> Please help
> Thanks & Regards
> Tapan

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message