Re: httpd match pattern issue

2018-05-24 Thread justina colmena
On Thu, 24 May 2018 16:47:46 +0200 Thuban wrote: > Hello, > I need to redirect some URLS with httpd. As example : > > /test/?d=2018/05/02/13/14/50-some-title > > Must be redirected to /2018/05/02/some-title > > My problem is that "?" is never matched. > > Here is the pattern I use : >

httpd match pattern issue

2018-05-24 Thread Thuban
Hello, I need to redirect some URLS with httpd. As example : /test/?d=2018/05/02/13/14/50-some-title Must be redirected to /2018/05/02/some-title My problem is that "?" is never matched. Here is the pattern I use : location match "^/test/%?d=(%d%d%d%d/%d%d/%d%d)/%d%d/%d%d/%d%