Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 9559 invoked from network); 15 Jun 2005 20:40:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Jun 2005 20:40:15 -0000 Received: (qmail 22470 invoked by uid 500); 15 Jun 2005 20:39:58 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 22452 invoked by uid 500); 15 Jun 2005 20:39:58 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 22436 invoked by uid 99); 15 Jun 2005 20:39:58 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from web30608.mail.mud.yahoo.com (HELO web30608.mail.mud.yahoo.com) (68.142.200.131) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 15 Jun 2005 13:39:54 -0700 Received: (qmail 75283 invoked by uid 60001); 15 Jun 2005 20:32:59 -0000 Message-ID: <20050615203259.75281.qmail@web30608.mail.mud.yahoo.com> Received: from [200.180.4.203] by web30608.mail.mud.yahoo.com via HTTP; Wed, 15 Jun 2005 17:32:58 ART Date: Wed, 15 Jun 2005 17:32:58 -0300 (ART) From: Fabricio Luiz Machado To: "apache.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked Subject: [users@httpd] ProxyPass with variables... X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi there! I integrate Apache + JBOSS with mod_proxy and it�s working fine to me. Now, I will have a big application, for hundreds of different profile clients. These clients must access the application with an URL like this: http://app.mydomain.com/client1 http://app.mydomain.com/client2 http://app.mydomain.com/whatever And I have to proxy this requests like this: ProxyPass /client1 http://localhost:8080/client1 ProxyPassReverse /client1 http://localhost:8080/client1 ProxyPass /client2 http://localhost:8080/client2 ProxyPassReverse /client2 http://localhost:8080/client2 ProxyPass /whatever http://localhost:8080/whatever ProxyPassReverse /whatever http://localhost:8080/whatever The problem, ist that I don�t want to manage this hundreds 'ProxyPass' directives one by one, because it will hurts... Is there a way to use variables to create an unique 'ProxyPass' ? For example: ProxyPass /%{VARIABLE} http://localhost:8080/%{VARIABLE} ProxyPassReverse /%{VARIABLE} http://localhost:8080/%{VARIABLE} Any sugestions will be great... Thanks! Fabricio. _______________________________________________________ Yahoo! Acesso Gr�tis - Internet r�pida e gr�tis. Instale o discador agora! http://br.acesso.yahoo.com/ --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org