Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Reverse Proxy not working for tomcat URL

807567Jul 31 2008 — edited Aug 18 2008
I have configured reverse proxy for sun one web server 6.1. Interestingly, when I give the address of a default tomcat instance in the 'servers' attribute like http://servername.domain.com:8080, everything is fine.It displays the tomcat page. But after I give the address of a confluence wiki instance (http://servername:8080/confluence) it gives a PASS1034: returning error code 400 .
The http://servername:8080/confluence actually gives http://servername:8080/confluence/login.action when tried on a browser separately.
I tried adding a login.action in the find-index directive, as well as separately adding the '/login.action' in the welcome file list and url-mapping in web.xml of my application, but still nothing seems to work. Sun one tries to find index.html only, and since it does not get it, gives the error.Any ideas ?

Following are the snapshots of my obj.conf
NameTrans fn="assign-name" from="(/*)" name="passthrough"
NameTrans fn="document-root" root="$docroot"
PathCheck fn="unix-uri-clean"
PathCheck fn="check-acl" acl="default"
PathCheck fn="find-pathinfo"
PathCheck fn="find-index" index-names="index.html,home.html,index.jsp"


<Object name="passthrough">
ObjectType fn="force-type"  type="magnus-internal/passthrough"
Service type="magnus-internal/passthrough"  fn="service-passthrough" servers="http://wikipweb2.xxxxx.com:28080/confluence"
</Object>
Error is as below:

[31/Jul/2008:10:07:38] fine ( 6011): GET requests for virtual server https-wikipdb2.xxxxx.com can safely bypass ACL checks [31/Jul/2008:10:07:39] fine ( 6011): for host 158.140.54.125 trying to GET /index.html, service-passthrough reports: PASS1022: passing request to http://wikipweb2.xxxxx.com:28080/confluence [31/Jul/2008:10:07:39] warning ( 6011): for host 158.140.54.125 trying to GET /index.html, service-passthrough reports: PASS1034: http://wikipweb2.xxxxx.com:28080/confluence returned error code 400
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 15 2008
Added on Jul 31 2008
10 comments
676 views