vADC Forum

Reply
Occasional Visitor
Posts: 1
Registered: ‎11-29-2012
Accepted Solution

Simple redirection

I am currently using a simple meta refresh page to redirect from a vanity URL to a real URL, but was thinking it could be done on Stingray instead.  Just want to redirect people from connect.example.com to abc.salesforce.com.

Along same lines, I want to redirect from connect.example.com/name to abc.salesforce.com/name.

Any suggestions on approach or direction to do this would be appreciated.

New Contributor
Posts: 2
Registered: ‎11-29-2012

Re: Simple redirection

Hi,

You can try this:


if( http.getHostHeader() == "connect.example.com" ) {
   http.changeSite( "abc.salesforce.com" );
}


Hope it helps.

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.