Apache 2.2 as Reverse Proxy for Websphere Issue!

Discussion in 'Apache' started by scbonner384, Nov 5, 2009.

  1. #1
    Hello all,

    Let me start by saying I am a complete newbie and I hope I can state my problem correctly.

    I have an apache 22 server running on BSD being utilized as a reverse proxy for access to my internal Websphere instance from the Internet. It works but I am getting a different output on my browser sessions to the Websphere server when going thru it as opposed to going directly to the server’s hostname from inside my network.

    Small Example:
    Good:
    <INPUT TYPE=text style="COLOR:#393939;BACKGROUND-COLOR:#e5e5e5" ID=TFIELD39 NAME=39 ReadOnly=True value="114850" TABINDEX=-1 onMouseOver=updateHelpCursor() style="width:85px; ">

    Broken:
    <input type="text" style="COLOR:#393939;BACKGROUND-COLOR:#e5e5e5" id="TFIELD39" name="39" readonly="True" value="114850" tabindex="-1" onmouseover="updateHelpCursor()">

    Please note that the very last part of the correct Source Code (ie. style="width:85px) is entirely missing from the Source Code written in the Broken page.

    What could possibly be causing this in the Apache Reverse Proxy Server I have now.

    There is obviously 100s of other source differences but they are all similar or identical to the above example.

    Below is an example of my httpd.conf file for review:

    SSLSessionCache "shmcb:/var/run/ssl_scache(512000)"
    SSLSessionCacheTimeout 300

    <VirtualHost employee.semcoenergy.com:80>
    ServerName employee.semcoenergy.com
    <Location />
    Order deny,allow
    Allow from all
    Redirect permanent / https://employee.mycompany.com/
    </Location>
    </VirtualHost>

    <VirtualHost employee.mycompany.com:443>
    ServerName employee.mycompany.com
    SSLEngine on
    SSLCertificateKeyFile /usr/local/etc/apache22/sslkey/employee.mycompany.com.
    key
    SSLCertificateFile /usr/local/etc/apache22/sslkey/employee.mycompany.com.crt
    ProxyRequests off
    RewriteEngine On
    RewriteRule ^/$ /jde/servlet/com.jdedwards.portal.PortalBuilderServlet [R]
    ProxyPass / http://websphereServer:84/ timeout=60
    SetOutputFilter proxy-html
    RequestHeader unset Accept-Encoding
    ProxyHTMLURLMap http://websphereServer:84 https://employee.mycompany.com
    <Location />
    Order deny,allow
    Allow from all
    ProxyPassReverse /
    SetOutputFilter proxy-html
    ProxyHTMLExtended On
    ProxyHTMLURLMap http://websphereServer:84 https://employee.semcoenergy.com
    </Location>
    </VirtualHost>

    Thanks very much in advance for any help I may receive,
    Scott
     
    scbonner384, Nov 5, 2009 IP