httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Regex for LocationMatch Directives
Date Sun, 27 Nov 2011 06:07:16 GMT
On Sun, Nov 27, 2011 at 1:57 PM, Sreehari Ps <sreeharips83@yahoo.com> wrote:
>
>
>
>  Hi All,
>  We are using  <LocationMatch>  for our in house  SSO authentication.
> we are  having a requirement for differentiating  same URLs but different
> parameters using two different <LocationMatch tag.
> /admin/check
> /admin/check?service=new_request
> Can somebody please help us to write regex for the same.
> we have already tried regex  like "/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)


-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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


Mime
View raw message