Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 30189 invoked from network); 6 Jan 2009 10:43:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Jan 2009 10:43:18 -0000 Received: (qmail 13893 invoked by uid 500); 6 Jan 2009 10:43:08 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 13865 invoked by uid 500); 6 Jan 2009 10:43:08 -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 13856 invoked by uid 99); 6 Jan 2009 10:43:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jan 2009 02:43:08 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of krist.vanbesien@gmail.com designates 209.85.218.28 as permitted sender) Received: from [209.85.218.28] (HELO mail-bw0-f28.google.com) (209.85.218.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jan 2009 10:42:59 +0000 Received: by bwz9 with SMTP id 9so5714271bwz.0 for ; Tue, 06 Jan 2009 02:42:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=zGoeb1SkSWVg22XK+QDZQxbCB6heszYyvo12r2PQlns=; b=Gz4xLMKA3NP5r+4I2ww687h2jxy/C47rab9pAd7T5Hr5DAzybeeburgvQAIMVvDyJG vXgfqODAW0FYJYovNiKQHGv4CMJR3GCAGfv4NrItDSjlMwzaWaqXHUHcUNL8sq2F/S8Y ve/zASUBQ+yvxIUFzmcHGN4KDDFqkjOs5O750= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=dVA0zegn6M0jclhQN38L8Av/caAOdYOGjXds18UsyUrdop1ObYkgB6ZvlB34vhiX65 YqPDvp3vTzQtiElEPRIA061YIwQqqG1IS2ZqC5WpDZ4ACZXmSkOMwfaHELwAam17aCOK aV6hZNoMxxp2eocovqNnviDIX0MuzJEnreONY= Received: by 10.86.91.12 with SMTP id o12mr12769028fgb.16.1231238557986; Tue, 06 Jan 2009 02:42:37 -0800 (PST) Received: by 10.86.9.1 with HTTP; Tue, 6 Jan 2009 02:42:37 -0800 (PST) Message-ID: <6ed6382b0901060242i78ad8739ma8fca514def9c8c0@mail.gmail.com> Date: Tue, 6 Jan 2009 11:42:37 +0100 From: "Krist van Besien" To: users@httpd.apache.org In-Reply-To: <567ebed20901060225s58b5b33bufdedb7943de47635@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <567ebed20901060225s58b5b33bufdedb7943de47635@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] 301 Redirect problem on Apache 2.0.50 On Tue, Jan 6, 2009 at 11:25 AM, Channel Five wrote: > Hi > > I have the following URL's > > http://www.mydomain.com/topic-guide.php > http://www.mydomain.com/topic-guide.php?section=2 > http://www.mydomain.com/topic-guide.php?section=3 > http://www.mydomain.com/topic-guide.php?section=4 You have one url, with an optional parameter, called "section". This parameter is handled by your php script. > I want to redirect all those ending in ?section=x to > > http://www.mydomain.com/topic-guide.php This is already done. Any URL of the form: http://www.mydomain.com/topic-guide.php? will cause apache to process topic-guide.php, with whatever passed as arguments passed on to the script. It is up to your script to deal with the arguments. Krist -- krist.vanbesien@gmail.com krist@vanbesien.org Bremgarten b. Bern, Switzerland -- A: It reverses the normal flow of conversation. Q: What's wrong with top-posting? A: Top-posting. Q: What's the biggest scourge on plain text email discussions? --------------------------------------------------------------------- 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