Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 46359 invoked from network); 8 Jan 2007 15:59:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jan 2007 15:59:21 -0000 Received: (qmail 98158 invoked by uid 500); 8 Jan 2007 15:57:40 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 98148 invoked by uid 500); 8 Jan 2007 15:57:40 -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 98133 invoked by uid 99); 8 Jan 2007 15:57:40 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jan 2007 07:57:40 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of krist.vanbesien@gmail.com designates 64.233.184.224 as permitted sender) Received: from [64.233.184.224] (HELO wr-out-0506.google.com) (64.233.184.224) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jan 2007 07:57:03 -0800 Received: by wr-out-0506.google.com with SMTP id 71so1135838wri for ; Mon, 08 Jan 2007 07:56:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QDE894yeSMElfwDqoe71V721RgfEwVoSOWrQQe0W0rljYp95uBSvCGJ208VYnkeVv3Q47/5lUsXQHhIy0A5pxIcs+s5BEb3Y1ErsFf09KSHRaZzyz72/R2N9oipTgSg3Rfshxx/E8jNMpYj39fmGQmHlTpj5PWCoalGb4GT8lOY= Received: by 10.78.157.8 with SMTP id f8mr4058054hue.1168271784943; Mon, 08 Jan 2007 07:56:24 -0800 (PST) Received: by 10.78.155.14 with HTTP; Mon, 8 Jan 2007 07:56:24 -0800 (PST) Message-ID: <6ed6382b0701080756j23aa026fue89d638f759f8054@mail.gmail.com> Date: Mon, 8 Jan 2007 16:56:24 +0100 From: "Krist van Besien" To: users@httpd.apache.org In-Reply-To: <8E2924888511274B95014C2DD906E58A01909944@MAILBOX0A.psi.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8E2924888511274B95014C2DD906E58A01909944@MAILBOX0A.psi.ch> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Rewrite does not work On 1/8/07, Huesser Peter wrote: > I have a problem with a rewrite. In my httpd.conf I use the following lines: > > > > ScriptAlias /test/ /var/test/cgi-bin/ > > Alias /pipermail/ /var/test/archives/public/ > > > > Options +FollowSymlinks > > > > > > RewriteEngine On > > RewriteCond %{SERVER_PORT} ^80$ > > RewriteRule ^(.+)$ https://server.domain.ch$1 [R] > > > > RewriteCond %{REMOTE_HOST} \.domain\.ch$ > > RewriteRule ^/testtinfo/fea http://another.url.ch/ > > > > The first RewriteCond maps all request on port 80 to the port 443 an works > fine. But the second RewriteCond has no effect Any idea? What are you seeing in your rewrite log? (If you don't have a rewrite log, switch it on now, and set debugging to a sufficiently high level). Krist -- krist.vanbesien@gmail.com Bremgarten b. Bern, Switzerland -- "...what you don't realize is that in the future Google WILL reach sentience, will [have had] invent[ed] a time machine, and will [have had] travel[ed] back in time to prevent Bill Gates... only to become Bill Gates by accident because of a search engine optimization miscalculation." (Comment on the Dilbert Blog) --------------------------------------------------------------------- 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