Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 97480 invoked from network); 22 Aug 2006 03:12:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Aug 2006 03:12:10 -0000 Received: (qmail 91707 invoked by uid 500); 22 Aug 2006 03:11:57 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 91695 invoked by uid 500); 22 Aug 2006 03:11:57 -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 91684 invoked by uid 99); 22 Aug 2006 03:11:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Aug 2006 20:11:57 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jak-tomcat-user@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Aug 2006 20:11:56 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GFMfk-00075s-9s for users@tomcat.apache.org; Tue, 22 Aug 2006 05:11:24 +0200 Received: from pool-71-107-254-102.lsanca.dsl-w.verizon.net ([71.107.254.102]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Aug 2006 05:11:24 +0200 Received: from wbarker by pool-71-107-254-102.lsanca.dsl-w.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Aug 2006 05:11:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: users@tomcat.apache.org From: "Bill Barker" Subject: Re: Apache 2.2 proxy and Tomcat 5.5 container - couldn't map to root Date: Mon, 21 Aug 2006 20:11:22 -0700 Lines: 45 Message-ID: References: X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pool-71-107-254-102.lsanca.dsl-w.verizon.net X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Sender: news X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N "Olexandr Prokhorenko" wrote in message news:loom.20060822T011043-272@post.gmane.org... > Hi everybody, > > I believe this is a common problem, but I wasn't able to find any answer > to it, > yet. I have a project WAR deployed in Tomcat 5.5 container, so I can see > it as > http://tomcat.server:8080/project. I've installed Apache 2.2 HTTP server > as a > front-end, and now I want to see my J2EE project as http://project.name/. > I've > configured the mod_proxy and all other stuff to do the proxing and > redirect. It > works just fine through AJP except one thing. First of all, Acegi > security SSO > doesn't work -- it requires to sign-in every single page. For the second, > all > links are using path /prohject, but not /. So I work with project from > http://project.name/project, but I can't map it to / (root), because I > believe > when it's being processed, it supposes to be executed with the different > path > (/project) so all links it builds (Acegi also) are /project/blablabla.jsp, > etc. > Can somebody please help me out with this? > How about: RewriteRule ^/.*\.jsp ajp://localhost:8009/project/$1.jsp [P] RewriteRule ^/servlet/.* ajp://localhost:8009/project/servlet/$1 [P] > Thanks. > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org