Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E26CF10837 for ; Wed, 24 Apr 2013 14:39:15 +0000 (UTC) Received: (qmail 11904 invoked by uid 500); 24 Apr 2013 14:39:12 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 11722 invoked by uid 500); 24 Apr 2013 14:39:12 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 11713 invoked by uid 99); 24 Apr 2013 14:39:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Apr 2013 14:39:12 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [198.152.71.100] (HELO de307622-de-outbound.net.avaya.com) (198.152.71.100) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Apr 2013 14:39:04 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AokFAD7td1HGmAcF/2dsb2JhbABRgmUhNr1RgQZ/FnSCHwEBAQEDEigUNwQCAQgNBAQBAQEKFAkHMQEUCQgBAQQIBwQBBxUEAYdyAQuiNJtBF41+gQE4BoJkYQOTTYR0hQyKb4FYgTZugQU1 X-IronPort-AV: E=Sophos;i="4.87,542,1363147200"; d="scan'208";a="6631132" Received: from unknown (HELO co300216-co-erhwest.avaya.com) ([198.152.7.5]) by de307622-de-outbound.net.avaya.com with ESMTP; 24 Apr 2013 10:38:42 -0400 Received: from unknown (HELO AZ-US1EXHC03.global.avaya.com) ([135.11.85.14]) by co300216-co-erhwest-out.avaya.com with ESMTP; 24 Apr 2013 10:35:06 -0400 Received: from AZ-US1EXMB01.global.avaya.com ([fe80::54fa:ed52:888e:7ca8]) by AZ-US1EXHC03.global.avaya.com ([::1]) with mapi id 14.02.0328.009; Wed, 24 Apr 2013 10:38:41 -0400 From: "Beavers, Melinda K (Kay)" To: Tomcat Users List Subject: RE: Configuring IIS to use the JK ISAPI redirector plugin when URL paths are different Thread-Topic: Configuring IIS to use the JK ISAPI redirector plugin when URL paths are different Thread-Index: Ac5Ao9jcB1hKUjRcQOip5guDlRFoWwAN2y+AAAdRpwA= Date: Wed, 24 Apr 2013 14:38:40 +0000 Message-ID: References: <5177839F.40808@kippdata.de> In-Reply-To: <5177839F.40808@kippdata.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [135.11.85.47] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Rainer, thank you for that link!! I have put this line in my isapi_redirec= t.properties file: "rewrite_rule_file=3DC:\Avaya\TomcatFilter\rewrite.prope= rties" and put my rewrite.properties file in place with just a single line = in it: "/apps/cepv/website/=3D/website/" and reset IIS. It is not working= but in the debug log I never see any reference to using the rewrite file. = =20 I never see entries like described below:=20 "During startup, you should see Using rewrite rule file YOURRULESFILE in the log file, and later Loaded rewrite rule file YOURRULESFILE Between those two, you should also see lines indicating, that the=20 contents of the file got parsed." Do you know if there's some other step I'm missing or if it has to be a cer= tain version in order to recognize the rewrite file? Regards, Katy -----Original Message----- From: Rainer Jung [mailto:rainer.jung@kippdata.de]=20 Sent: Wednesday, April 24, 2013 2:03 AM To: users@tomcat.apache.org Subject: Re: Configuring IIS to use the JK ISAPI redirector plugin when URL= paths are different On 24.04.2013 06:53, Beavers, Melinda K (Kay) wrote: > We have installed the IIS-Tomcat redirector (isapi_redirect.dll) on an II= S 6 server so that http://iis.company.com/website/myfile.jsp will correctl= y redirect according to our 'isapi_redirect.properties', 'workers.propertie= s', and 'uriworkermap.properties ' and serve the JSP page from http://tomc= at.company.com/website/myfile.jsp . That appears to be working just fine. B= ut we actually need to have a different IIS URL. What we are trying to figu= re out is if we can configure it so that http://iis.company.com/apps/cepv/w= ebsite/myfile.jsp will redirect and serve the JSP content at http://tomcat.= company.com/website/myfile.jsp. The path on the IIS server is has two extra= levels (/apps/cepv) in the URL path and does not match the path on the tom= cat server where the JSP content is. We have to have those two extra levels= in the IIS URL path for other technical reasons and we cannot match or inc= lude those two extra levels on the tomcat side.=20 >=20 > We have tried the following but cannot get it to work. =20 >=20 > website.worker=3Dwebsite_ajp13=20 > /apps/cepv/website/*.jsp=3D$(website.worker)=20 >=20 > Is there anything we can do to map this correctly? =20 Have a look at https://tomcat.apache.org/connectors-doc/generic_howto/proxy.html#URL%20Rew= riting starting from "If you are using Microsoft IIS as a web server...". Regards, Rainer --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org