Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 50387 invoked from network); 10 Jun 2009 08:48:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Jun 2009 08:48:17 -0000 Received: (qmail 37531 invoked by uid 500); 10 Jun 2009 08:48:25 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 37464 invoked by uid 500); 10 Jun 2009 08:48:24 -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 37445 invoked by uid 99); 10 Jun 2009 08:48:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2009 08:48:24 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tevans.uk@googlemail.com designates 209.85.219.228 as permitted sender) Received: from [209.85.219.228] (HELO mail-ew0-f228.google.com) (209.85.219.228) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2009 08:48:12 +0000 Received: by ewy28 with SMTP id 28so181858ewy.24 for ; Wed, 10 Jun 2009 01:47:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=jwNUfcIuaZU8DJujXwimm/E9TxIOcrRdzCpsoO6hS4c=; b=UzzWYFOo/aQZUAiiTwU1jL7XSKHm5pQIBHW5of5kmr1Pr4wOS2aWfhtDzq7RpPU6V2 6mRtIPs7or2/iW6LjC7KIb+EWTetvPOJEJDucCCQn4XClFYe6t4oyal92yT0WL8wbJJt acNA6dtBW07QMCWc+JgukH985c+9I6b8AM6Tg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=lyJEMo13mJLx6bqb/2ZZ8Yit7vhm8mAeBl3N2A6TyYLRaVXRCRTuI/f7v5pYEcOKej YyYkRXevwztWiku2HolllK/IUTdhZZSx2CHr520U1NJ8mzw7g/HocqPBDjrg/8noY7ND awqhRIEt/rIX1HArf/Qc7bhHyrTBFJMVQRBNU= Received: by 10.210.88.3 with SMTP id l3mr4226437ebb.59.1244623672091; Wed, 10 Jun 2009 01:47:52 -0700 (PDT) Received: from ?127.0.0.1? (87-194-39-182.bethere.co.uk [87.194.39.182]) by mx.google.com with ESMTPS id 5sm1561677eyf.48.2009.06.10.01.47.50 (version=SSLv3 cipher=RC4-MD5); Wed, 10 Jun 2009 01:47:51 -0700 (PDT) From: Tom Evans To: users@httpd.apache.org In-Reply-To: References: <20090609105622.3f5c65e7@grimnir> Content-Type: text/plain Date: Wed, 10 Jun 2009 09:47:50 +0100 Message-Id: <1244623670.2437.13.camel@strangepork.london.mintel.ad> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Reverse Proxy: Max-Forwards has reached zero - proxy loop? On Tue, 2009-06-09 at 22:37 +0200, ml ml wrote: > Hi Nick, > > it still does not work if i use: > > > > ServerName webmail.example.com > SSLEngine on > SSLCertificateFile /usr/local/apache/conf/webmail.example.cert > SSLCertificateKeyFile /usr/local/apache/conf/webmail.example.key > > SSLProxyEngine on > RewriteEngine on > RewriteRule ^/$ /exchange [R] > > ProxyPass /exchange https://webmail.example.com/exchange > ProxyPassReverse /exchange https://webmail.example.com/exchange > #ProxyPass /exchweb https://webmail.example.com/exchweb > #ProxyPassReverse /exchweb https://webmail.example.com/exchweb > > AddType application/x-httpd-php .php > > > Still the same error. Any further ideas? > > Thanks, > Mario > This configuration is nonsense. It says "This site is https://webmail.example.com, and you get its content by proxying to https://webmail.example.com", which is why you get these loops. You cannot proxy yourself to yourself and expect to get something that works. Seeing how this is certainly not your real config, I can't guess as to what you are intending. You need to proxy to your exchange server, and using the name that apache can use to get there. Eg. if your exchange server is 'mail01.example.com', and your apache server is 'webmail.example.com', then your proxy lines should be: ProxyPass /exchange https://mail01.example.com/exchange ProxyPassReverse /exchange https://mail01.example.com/exchange Your apache server, according to your conf file, is accessible at https://webmail.example.com , so it is not possible for your exchange server to be at the same address. Put the right address in, and it will work. Tom --------------------------------------------------------------------- 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