Hi, as far as I know this is a regular expression pattern, so something
like "^/$" should work for you.
Regards.
On Wed, Dec 18, 2013 at 7:05 PM, Joseph Robinson <[email protected]>wrote:
> I'm just looking to find out if the URL pattern syntax is indeed a
> "contains" and if there is a way to switch it to an "equals"?
>
> Can anyone from the Zen team comment?
>
> Thanks,
>
> Joseph
>
> ------------------------------
> *From:* Joseph Robinson <[email protected]>
> *To:* "[email protected]" <
> [email protected]>
> *Sent:* Sunday, November 24, 2013 9:19 PM
> *Subject:* [Zenloadbalancer-support] Redirects
>
> Hello,
>
> I am attempting to do a redirect from http://www.mysite.com/ to
> http://www.mysite.com/dir/
>
> The problem is with the logic used to match the conditions for the
> redirect. If you leave the virtual host blank and put a "/" in the URL
> pattern, then the logic looks for the / in any part of the URI and triggers
> the redirect, thus leaving you in a loop.
>
> If you were to put in /ED as your URL pattern then any URI with /ED in it
> would trigger the redirect like http://www.mysite.com/dir/deepinthesite/ED
> even if your intention is to only trigger the redirect on a first level
> folder called "ED".
>
> Basically the logic is running a "contains" rather than an "equals".
>
> Is there a way to force the URL pattern to be an equals instead of a
> contains? Only trigger when the URI is exactly "/" indicating the root of
> the site and not just any "/" in the URI?
>
> Thanks!
>
> Joseph
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Shape the Mobile Experience: Free Subscription
> Software experts and developers: Be at the forefront of tech innovation.
> Intel(R) Software Adrenaline delivers strategic insight and game-changing
> conversations that shape the rapidly evolving mobile landscape. Sign up
> now.
> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
> _______________________________________________
> Zenloadbalancer-support mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>
>
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> Zenloadbalancer-support mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>
>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Zenloadbalancer-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support