07-01-04 10:55 PM
I'm using WebLogic Server 8.1.
The web documentation and, indeed, other messages in this newsgroup,
show the
HttpProxyServlet configuration as something like this:
<web-app>
<servlet>
<servlet-name>ProxyServlet</servlet-name>
<servlet-class>weblogic.servlet.proxy.HttpProxyServlet</servlet-class>
<init-param>
<param-name>redirectURL</param-name>
<param-value> http://x.x.x.x:8000</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>ProxyServlet</servlet-name>
<url-pattern>*.gif</url-pattern>
</servlet-mapping>
</web-app>
However, when I try this I get an error in the log file that
"WebLogicHost/WebLogicPort is not defined".
If I replace the "redirectURL" parameter with the
WebLogicHost/WebLogicPort pair
then things seem to work ok. But the documentation for those
parameters implies that they are intended to define another WebLogic
server instance to which the requests are being forwarded. In this
case, I don't want that, I just want to forward to a different web
server.
Is the documentation just wrong or am I missing something?
Thanks,
mark
[ Post a follow-up to this message ]
|