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/).

<Location /one>
        WLSRequest On
        WebLogicHost xxxx
        WebLogicPort yyyy
</Location>

<Location /two>
        WLSRequest On
        WebLogicHost xxxx
        WebLogicPort yyyy
</Location>

<LocationMatch "^/(?!one|two)">
        WLSRequest On
        WebLogicHost xxxx
        WebLogicPort yyyy
</LocationMatch>

when i try like host:port/aaa - it gives 404 as it doesnt matches any
context, however i expect it to match last one.
I have tried lot of combinations so far but doesn't seem to find it working
yet. Any suggestions Masters.

Apache/2.4.12 (Unix)
SunOS  5.10 Generic_150400-14 sun4u sparc SUNW,Netra-T12
-- 
Regards || Jatinder Singh

Reply via email to