Re: Regex for LocationMatch Directives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Nov 27, 2011 at 1:57 PM, Sreehari Ps <sreeharips83@xxxxxxxxx> 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@xxxxxxxxx

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux