RE: Apache Reverse Proxy Configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On the front end we have Apache 2.2.21 running on Windows 2003
We configured Apache as a Reverse Proxy using mod_proxy

On the back end we have a COTS application by IBM called Maximo
This application is deployed on WebLogic and running on Windows 2008

Scenario:

When a user requests access through the Apache RP on the front end. 
Apache forwards the request to the back end IBM Maximo application.
User is prompted with a Basic Prompt from Weblogic security.
User logs in and is presented with the application home page. 
All fonts and links are greyed out. The page displays correctly images/css/ etc. But all of the links that are javascript DO NOT work.
It's like the home page is in "read only mode". Can't click anything. Right clicking on the page does not work.

Below is the httpd.conf we are using. Any ideas would be greatly appreciated.


LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule headers_module    modules/mod_headers.so
LoadModule proxy_html_module modules/mod_proxy_html.so
LoadModule xml2enc_module modules/mod_xml2enc.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule ssl_module modules/mod_ssl.so

LoadFile "C:\Program Files\Apache Software Foundation\Apache2.2\bin\libxml2.dll"
LoadFile "C:\Program Files\Apache Software Foundation\Apache2.2\bin\iconv.dll"

ProxyRequests off	


# Maximo
ProxyPass /maximo/                  https://app.servername.com/maximo/
ProxyPassReverse /maximo/           https://app.servername.com/maximo/
ProxyPass /webclient/                  https://app.servername.com/ webclient /
ProxyPassReverse / webclient /           https://app.servername.com/ webclient /

<Directory "/maximo/">
    Options FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>



DefaultType text/plain

<IfModule mime_module>
    
    TypesConfig conf/mime.types

    AddType application/x-gzip .tgz
    #
    # AddEncoding allows you to have certain browsers uncompress
    # information on the fly. Note: Not all browsers support this.
    #
    AddEncoding x-compress .Z
    AddEncoding x-gzip .gz .tgz
    #
    # If the AddEncoding directives above are commented-out, then you
    # probably should define those extensions to indicate media types:
    #
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz

    #
    # AddHandler allows you to map certain file extensions to "handlers":
    # actions unrelated to filetype. These can be either built into the server
    # or added with the Action directive (see below)
    #
    # To use CGI scripts outside of ScriptAliased directories:
    # (You will also need to add "ExecCGI" to the "Options" directive.)
    #
    AddHandler cgi-script .cgi
    AddHandler server-parsed .shtml

    # For type maps (negotiated resources):
    AddHandler type-map var

    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml
</IfModule>


# Secure (SSL/TLS) connections
SSLRandomSeed startup builtin
SSLSessionCache none
SSLEngine On
SSLProxyEngine on
SSLCertificateFile conf/ssl/my-server.cert
SSLCertificateKeyFile conf/ssl/my-server.key
SSLCACertificateFile conf/ssl/my-server.pem


#Include conf/extra/httpd-ssl.conf
#
# Note: The following must must be present to support
#       starting without SSL on platforms with no /dev/random equivalent
#       but a statically compiled-in mod_ssl.
#
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>

-----Original Message-----
From: fREW Schmidt [mailto:frioux@xxxxxxxxx] 
Sent: Wednesday, March 28, 2012 1:16 PM
To: users@xxxxxxxxxxxxxxxx
Cc: 
Subject: Re:  Apache Reverse Proxy Configuration

On Wed, Mar 28, 2012 at 12:09 PM, Campbell, Jomori (US - Arlington)
<jomcampbell@xxxxxxxxxxxx> wrote:
> We currently have an Apache Reverse Proxy set up in a client's environment. The issue that we are facing with the Apache Reverse Proxy is that any type of JavaScript or servlets that use JAVA are not being proxied correctly. The version of Apache that we are using is 2.2.21.  Also, we're currently running Windows Server 2003.

Can you clarify what you mean by "not being proxied correctly?"  We
have a very similar environment (even some customers on 2003) and
everything has been perfect for us.

--
fREW Schmidt
http://blog.afoolishmanifesto.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux