Forum Moderators: phranque

Message Too Old, No Replies

mod proxy issues accessing WebSphere console

         

dfresh4130

4:16 pm on Sep 28, 2011 (gmt 0)

10+ Year Member



I've been banging my head on this one for a while and can't seem to come up with anything. We have some Websphere app servers that we recently moved into a secure DMZ. Along with that, we no longer have direct access to the port the consoles are running on so I'm trying to set up a proxy server to access them. Below are the configs I have in the httpd.conf and can't figure out why it's not working.


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule cache_module modules/mod_cache.so
LoadModule ssl_module modules/mod_ssl.so

SSLProxyEngine on

ProxyPass /COSANDM https://appserver.test.com:21004/ibm/console/

ProxyPassReverse /COSANDM https://appserver.test.com:21004/ibm/console/

ProxyRequests Off

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


When I have these settings enabled and I hit the URL in my browser like [proxy.server.com...] it sends me to the login page of the websphere console with no problem. Once I enter the credentials I get a 404 because the proxy server isn't passing the next URL to the app server and trying to serve it up locally instead.

I've also tried not using ProxyPass and instead just using ProxyRequests On by itself. When I try that approach I get a 403 forbidden when configuring my browser to send all traffic through the proxy server and hit the URL of the app server directly. Any suggestions are greatly appreciated.