Apache和Weblogic模块重写到集群
我有一个设置,我们有两台服务器。WS-server用于服务所有静态内容(图像、css等),并运行apache。这是所有请求的命中点 AS服务器是由两个Weblogic服务器组成的Weblogic集群 所有.jsp请求都作为服务器发送 我必须将某些请求重写到集群,而不是循环回WS。我在apache mod_rewrite中使用以下逻辑。它不起作用:Apache和Weblogic模块重写到集群,apache,weblogic,weblogic-10.x,Apache,Weblogic,Weblogic 10.x,我有一个设置,我们有两台服务器。WS-server用于服务所有静态内容(图像、css等),并运行apache。这是所有请求的命中点 AS服务器是由两个Weblogic服务器组成的Weblogic集群 所有.jsp请求都作为服务器发送 我必须将某些请求重写到集群,而不是循环回WS。我在apache mod_rewrite中使用以下逻辑。它不起作用: RewriteRule ^/(.*) index.jsp?c=$1 Apache日志显示 rewrite '/video' -> 'index
RewriteRule ^/(.*) index.jsp?c=$1
Apache日志显示
rewrite '/video' -> 'index.jsp?c=video'
但是应用程序(JSP页面)无法接收它。不知何故,404页在到达Weblogic端之前就被触发了 我建议您使用WebLogic代理插件来做这类事情。 你的问题没有告诉我Apache服务器是如何知道你的WLS服务器的。。。 请查看文档: