Hope this patch is right. It seems to solve the problem on my server. Currently warp redirects to the underlying server name rather than the server name used when requesting a virtual host. This means that if you select http://virtualhost/ you get redirected to http://realhost/index.jsp
The attached patch fixes this. Also is anyone aware of problems when trying to use this config as when I try it the server returns a 500, but there are no errors in the log files. <user-data-constraint> <transport-guarantee>CONFIDENTIAL</transport-guarantee> </user-data-constraint -- Jeff Martin Memetic Engineer http://www.custommonkey.org/
Index: WarpEngine.java =================================================================== RCS file: /home/cvspublic/jakarta-tomcat-connectors/webapp/java/Attic/WarpEngine.java,v retrieving revision 1.12 diff -u -r1.12 WarpEngine.java --- WarpEngine.java 19 Jul 2001 23:34:07 -0000 1.12 +++ WarpEngine.java 26 Feb 2002 10:30:12 -0000 @@ -72,7 +72,12 @@ WarpRequest wreq=(WarpRequest)request; Host host=wreq.getHost(); if (update) { - request.setServerName(host.getName()); + if(request.getRequest().getServerName()==null){ + request.setServerName(host.getName()); + }else{ + request.setServerName( + request.getRequest().getServerName()); + } } return(host); } else return(super.map(request,update));
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>