Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 25372 invoked from network); 27 Feb 2007 09:11:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Feb 2007 09:11:37 -0000 Received: (qmail 84158 invoked by uid 500); 27 Feb 2007 09:11:33 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 84127 invoked by uid 500); 27 Feb 2007 09:11:33 -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 84111 invoked by uid 99); 27 Feb 2007 09:11:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Feb 2007 01:11:32 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [212.67.202.165] (HELO bismuth.webfusion.co.uk) (212.67.202.165) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Feb 2007 01:11:20 -0800 Received: from 87-194-39-44.bethere.co.uk ([87.194.39.44] helo=phoenix.config) by bismuth.webfusion.co.uk with esmtpa (Exim 4.54) id 1HLyML-0000VT-Gc for users@tomcat.apache.org; Tue, 27 Feb 2007 09:10:57 +0000 Message-ID: <45E3F5A1.5040201@pidster.com> Date: Tue, 27 Feb 2007 09:10:57 +0000 From: Pid Reply-To: p@pidster.com Organization: Pid Inc User-Agent: Thunderbird 2.0b2 (Macintosh/20070116) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: mod_jk replacement? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org ProxyPass doesn't accept wildcards like this. You can either Proxy a complete path, and 'unproxy' the ones you don't need: ProxyPass /scripts/ ! # exclamation mark == 'not' ProxyPass /images/ ! # exclamation mark == 'not' ProxyPass / ajp://host:0/ # proxy the rest Or you can use mod_rewrite to proxy more specific URLs: RewriteEngine on RewriteRule ^\/(.+)\.jsp(.+)? ajp://host/$1.jsp$2 [P,L] rgds p Raj Mettai wrote: > Hi, > > how to put wildcards into ProxyPass, for example if I want to send only jsp requests to tomcat and not html like below. > > ProxyPass /*.jsp ajp://127.0.0.1:8009/ > > the above config is not working, I have jsp files spread across multiple folders on tomcat and the same folder structure on apache has html pages, so I want to forward only jsp requests to tomcat > > thanks > > Raj > > > Please Note: Due to Florida's very broad public records law, most written communications to or from College employees regarding College business are public records, available to the public and media upon request. Therefore, this email communication may be subject to public disclosure > >>>> d-rodriguez@chronoexpres.com 1/22/2007 4:14:54 AM >>> > > Recently i'm using mod_proxy_ajp, as mod_jk replacement with apache. > > I don't have this in an production environment, but along this week I plan > to do it. > > This is an extract of my apache config: > > ProxyPass /app/img/ ! > ProxyPass /app/js/ ! > ProxyPass /app/doc/ ! > ProxyPass /app/css/ ! > ProxyPass /app/ ajp://127.0.0.1:8009/app/ > > Alias /app "/srv/www/tomcat5/base/webapps/app" > > Options None > allow from all > > > > -----Mensaje original----- > De: JNeuhoff [mailto:neuhoff@mhccorp.com] > Enviado el: lunes, 22 de enero de 2007 0:27 > Para: users@tomcat.apache.org > Asunto: mod_jk replacement? > > > Is there another connector software available between Apache 2.0.59 and > Tomcat 5.5.17 on Windows 2003 which is more stable and suitable for a live > web service? mod_jk 1.2.20 (which I believe is the latest version) appears > to have some problems with managing TCP connections (see > http://www.nabble.com/Apache-mod_jk-memory-leak--tf3023318.html for > details). We are desparately looking for a working connection software > between Apache and Tomcat. > > Alternatively, we are thinking of running a standalone Tomcat in which case > we'd find to find a way of mapping some web-enabled directories with static > resources (mainly PNG images and some simple PHP scripts) to Tomcat in > addition to our Servlet. Is that possible? > > > -- > View this message in context: > http://www.nabble.com/mod_jk-replacement--tf3050993.html#a8481132 > Sent from the Tomcat - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > 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 > > > > > > ---------------------------------------------------------------------- > > La Informaci�n incluida en el presente correo electr�nico es SECRETO > PROFESIONAL Y CONFIDENCIAL, siendo para el uso exclusivo del > destinatario arriba mencionado. Si usted lee este mensaje y no es el > destinatario se�alado, el empleado o el agente responsable de entregar > el mensaje al destinatario, o ha recibido esta comunicaci�n por error, > le informamos que esta totalmente prohibida cualquier divulgaci�n, > distribuci�n o reproducci�n de esta comunicaci�n, y le rogamos que nos > lo notifique inmediatamente y nos devuelva el mensaje original a la > direcci�n arriba mencionada. > > Gracias. > > The information contained in this e-mail is LEGALLY PRIVILEDGED AND > CONFIDENTIAL and is intended only for the use of the addressee named > above. If the reader of this message is not the intended recipient or > the employee or agent responsible for delivering the message to the > intended recipient, or you have received this communication in error, > please be aware that any dissemination, distribution or duplication of > this communication is strictly prohibited, and please notify us > immediately and return the original message to us at the address above. > > Thank you. > > > > --------------------------------------------------------------------- > 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