Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 73714 invoked from network); 25 Mar 2009 13:56:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Mar 2009 13:56:34 -0000 Received: (qmail 54665 invoked by uid 500); 25 Mar 2009 13:56:30 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 54645 invoked by uid 500); 25 Mar 2009 13:56:30 -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 54636 invoked by uid 99); 25 Mar 2009 13:56:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Mar 2009 13:56:30 +0000 X-ASF-Spam-Status: No, hits=2.7 required=10.0 tests=SPF_NEUTRAL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [217.146.189.30] (HELO web23005.mail.ird.yahoo.com) (217.146.189.30) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 25 Mar 2009 13:56:21 +0000 Received: (qmail 52669 invoked by uid 60001); 25 Mar 2009 13:55:58 -0000 Message-ID: <163324.52576.qm@web23005.mail.ird.yahoo.com> X-YMail-OSG: h7_b7GgVM1nlcYV3QzSOmo9_bX04sSDu7f8fZyWUNQ6soAipSIvlbcmbPyBIwqELBgxDoR4V9SU.1o8M5d0kPrDBYilBahf_p6x1DWKafKXMWXNYThqeCV8Dc3wAkOoLOrn7g3coa85tB120FDobkt_XpqdWALns45aIf3m27SrHtVPYQWSfjS82rRLpcOks.IdBc.d9vNJTTo.OxpHDai8Byw-- Received: from [212.190.144.11] by web23005.mail.ird.yahoo.com via HTTP; Wed, 25 Mar 2009 13:55:58 GMT X-RocketYMMF: darkman_spam X-Mailer: YahooMailWebService/0.7.289.4 Date: Wed, 25 Mar 2009 13:55:58 +0000 (GMT) From: Florent Georges Reply-To: lists@fgeorges.org To: Richard Peacock Cc: users@httpd.apache.org In-Reply-To: <96C4A20C9B74DA47A96A38D9EF13C06DF12EBF@uk-lds-exch-04.minorplanet.local> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Redirect a whole site from port 80 to a servlet container Richard Peacock wrote: > The lines you put in you conf file would be something like: > ProxyRequests Off > ProxyPass /app1/ http://the.target.server:port/ It seems I misunderstood something... I created a new site file for the new domain name, say www.new.com, and used a2ensite successfully. The file contains the following: NameVirtualHost www.new.com:80 ProxyRequests Off ProxyPass / http://localhost:1234/container/app/ I used a2enmod successfully for both proxy and proxy_http, stopped and started again Apache. When I try to access either website (with the new or the original domain name,) I get a "403 Forbidden" error: Forbidden You don't have permission to access / on this server. If I a2dissite, stop then start, I can access the original site again. But I cannot figure how to configure the new site. I don't have any clue. Any thought? Thanks for your help. Regards, --=20 Florent Georges http://www.fgeorges.org/ =0A=0A=0A --------------------------------------------------------------------- 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