You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Bogdan Siara <bs...@gmail.com> on 2015/02/03 15:24:18 UTC

[users@httpd] Problems with LocationMatch

Hello,

I must match two request:
/piaskownica.git/git-upload-pack
/piaskownica.git/info/refs?service=git-upload-pack

I configure LocationMatch:

<LocationMatch
"/(piaskownica.git/(info/refs\?service=git-upload-pack$|git-upload-pack$))">

but this not work... How to configure it?

Regards
BS

Re: [users@httpd] Problems with LocationMatch

Posted by Bogdan Siara <bs...@gmail.com>.
I use apache 2.2...

Regards
BS

2015-02-03 15:31 GMT+01:00 Eric Covener <co...@gmail.com>:

> On Tue, Feb 3, 2015 at 9:24 AM, Bogdan Siara <bs...@gmail.com> wrote:
> > /piaskownica.git/info/refs?service=git-upload-pack
>
>
> This directive does not compare against the query string. If you're in
> 2.4, try <if>
>
> --
> Eric Covener
> covener@gmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Re: [users@httpd] Problems with LocationMatch

Posted by Eric Covener <co...@gmail.com>.
On Tue, Feb 3, 2015 at 9:24 AM, Bogdan Siara <bs...@gmail.com> wrote:
> /piaskownica.git/info/refs?service=git-upload-pack


This directive does not compare against the query string. If you're in
2.4, try <if>

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org