Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3CA7A708C for ; Sun, 27 Nov 2011 06:07:47 +0000 (UTC) Received: (qmail 74423 invoked by uid 500); 27 Nov 2011 06:07:44 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 74279 invoked by uid 500); 27 Nov 2011 06:07:43 -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 74270 invoked by uid 99); 27 Nov 2011 06:07:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Nov 2011 06:07:43 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of covener@gmail.com designates 209.85.210.173 as permitted sender) Received: from [209.85.210.173] (HELO mail-iy0-f173.google.com) (209.85.210.173) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Nov 2011 06:07:36 +0000 Received: by iakk32 with SMTP id k32so9142154iak.18 for ; Sat, 26 Nov 2011 22:07:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=3l1hkj2CSHtImIdEEQYEC+KqqLElOsm/Exrg9ItnBiw=; b=a2SfOjHdm2IPrtJCjYYOu2oUaDHS6nVLDjqT1GnRR54W68uq+3N5s2smpFHmRh/5Lu Fy+CfWSCEFeBj0jJ0XN8uEC7qz+ZbJugKILhkJP+RxTZt+OkFibvw/3/wRu0Th6vxnLu Rxy8L1vywljdt1GL/PPSLM3+Qns9Lee3PDuYE= MIME-Version: 1.0 Received: by 10.42.159.72 with SMTP id k8mr18738889icx.14.1322374036245; Sat, 26 Nov 2011 22:07:16 -0800 (PST) Received: by 10.50.36.161 with HTTP; Sat, 26 Nov 2011 22:07:16 -0800 (PST) In-Reply-To: <1322373448.40890.YahooMailNeo@web95905.mail.in.yahoo.com> References: <1322373170.41900.YahooMailNeo@web95906.mail.in.yahoo.com> <1322373448.40890.YahooMailNeo@web95905.mail.in.yahoo.com> Date: Sun, 27 Nov 2011 14:07:16 +0800 Message-ID: From: Eric Covener To: users@httpd.apache.org, Sreehari Ps Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [users@httpd] Regex for LocationMatch Directives On Sun, Nov 27, 2011 at 1:57 PM, Sreehari Ps wrote= : > > > > =A0Hi All, > =A0We are using =A0 =A0for our in house =A0SSO authenticat= ion. > we are =A0having a requirement for differentiating =A0same URLs but diffe= rent > parameters using two different /admin/check > /admin/check?service=3Dnew_request > Can somebody please help us to write regex for the same. > we have already tried regex =A0like "/admin/check$" but it didnt work. LocationMatch only compares against the path component of the URL, not the query string. Depending on what you're actually trying to do differently, you'll have to use something that can explicitly act based on the query string (rewriterule, setenvif) --=20 Eric Covener covener@gmail.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