Hi Casey,
I think I might have gotten slightly further than you, but I got
stuck as well. Here is my situation:
I'm running WebLogic on port 7001. I can connect to it via
<http://hostname:7001>. I want to run apache, on the same machine in
front of WL, so that requests to port 7001 are passed on by apache to
WL.
I've compiled mod_proxy into apache. Some manuals recommend using
DSOs, but I prefer compiling it in for speed. The relevant lines in my
httpd.conf look like so:
ProxyRequests On
AllowCONNECT 443 7001
ProxyPass /foo <http://hostname:7001/index.html>
ProxyPassReverse /foo <http://hostname:7001/index.html>
So essentially what I want is that users who go to http://hostname/foo
see http://hostname:7001/index.html instead. Things do get redirected
as expected, however, when I run into a JSP page,apache goes nuts
because it cannot find a handler for.jsp in its mime-type file.
So now my problem has become the following:
How can I tell apache to pass everything that comes into /foo to
<http://hostname:7001>, and not worry about handlers it doesn't know
about?
BTW mod_proxy is documented at
http://www.apache.org/docs/mod/mod_proxy.html
If you like, the weblogic-to-apache bridge is documented at:
http://www.weblogic.com/docs50/admindocs/apache_bridge.html
According to WL support, even if you're running 4.5.1 you can use the
mod_wl.so module provided with WL 5.0, but it is not a recommended
configuration since it was not cleared by QA. Don't ask me what that
means..I probably won't stick it in production though..
Good luck. Let me know if you get anything to work. I'm also looking at
mod_rewrite to see if that would be useful here..
Regards,
Sandeep Cariapa
> Hello everyone!
> I'm trying to set up Apache so I can forward my requests to a Weblogic
> server but I can't seem to get the mod proxy to do its thing. Does
> anyone have any idea on how to configure Apache so I can pass it
> along? Is the module itself installed with the default install?
> Thanks!
> Casey
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Sent via Deja.com http://www.deja.com/
Before you buy.