Re: [users@httpd] Negate Regex with LocationMatch help Needed

2015-05-06 Thread ਜਤਿੰਦਰ ਸਿੰਘ
I tried it - here are the observations - the root redirect like host:port/ still doesnt gets to location third and is served by apache. and since this is external redirect - host:port/abc becomes host:port/three - Seems need pathtrim etc but this redirect doesnt seems to be fit as it is not trans

Re: [users@httpd] Negate Regex with LocationMatch help Needed

2015-05-06 Thread Daniel
My fault, the last is a instead of LocationMatch 2015-05-06 16:48 GMT+02:00 Daniel : > This is what I said: > > RedirectMatch ^/(?!one|two).* /three > > WLSRequest On > WebLogicHost > WebLogicPort > > > > WLSRequest On > WebLogicHost >

Re: [users@httpd] Negate Regex with LocationMatch help Needed

2015-05-06 Thread Daniel
This is what I said: RedirectMatch ^/(?!one|two).* /three WLSRequest On WebLogicHost WebLogicPort WLSRequest On WebLogicHost WebLogicPort WLSRequest On WebLogicHost WebLogicPort 2015-05-0

Re: [users@httpd] Negate Regex with LocationMatch help Needed

2015-05-06 Thread ਜਤਿੰਦਰ ਸਿੰਘ
I am still figuring out the workaround option as suggested with redirectmatch, but i tried the greedy one like below without success. # # Tried with only "one" for testing. On Wed, May 6, 2015 at 2:35 AM, Daniel wrote: > Just as workaround have you tried to define the third Location as "three

Re: [users@httpd] Negate Regex with LocationMatch help Needed

2015-05-06 Thread Daniel
Just as workaround have you tried to define the third Location as "three" and make a redirectmatch to it with the negative lookahead instead? If you still want to push for that locationmatch maybe you would need to specify a ".*" at the end. It is probably a better solution in the long run to just

[users@httpd] Negate Regex with LocationMatch help Needed

2015-05-05 Thread ਜਤਿੰਦਰ ਸਿੰਘ
Hello Team, I am trying to match below conditions. 1) host:port/one --> matches 1st location directive only. 2) host:port/two --> matches 2nd location directive only. 3) All Other than host:port/one OR host:port/two --> matches 3rd location directive (including root host:port/). WLSRequ