I posted this last week however the answer provided did not work. I am looking for other suggestions. Thanks in advance to all that answer.
I have a need to redirect traffic coming from different URL’s to another URL based on the the incoming URL string and IP address. Private addresses will redirect to one URL and all other requests will redirect to another URL. Also, this iRule will be used on multiple inbound requests for different vendors. I have the private_net Datagroup to match on for inbound IP. The Internal users referenced below will be coming from the private_net range.
can you provide a link to the previous post? otherwise you may get the same advice a second time. also, why didn’t the previous solution work? did it not work due to syntax errors or because of logic?
Additionally, my recommendation would be to uncomment the event disable statements, if there are other iRules attached to VS which are invoking redirects/responses. (Multiple invocations of redirect/response statements are not permitted and will result in a TCL error)
Additionally, my recommendation would be to uncomment the event disable statements, if there are other iRules attached to VS which are invoking redirects/responses. (Multiple invocations of redirect/response statements are not permitted and will result in a TCL error)
Note, this retarded encoding tool appears interpret hyperlinks in its own format regardless of code block that was used. Can’t find a way to correct it. For both SWITCH statements, the correct code for “default” section would be as follows: default { HTTP::respond 301 location “http://qa-myaccess.com/empowerID” event disable }
Note, this retarded encoding tool appears interpret hyperlinks in its own format regardless of code block that was used. Can’t find a way to correct it. For both SWITCH statements, the correct code for “default” section would be as follows: default { HTTP::respond 301 location “http://qa-myaccess.com/empowerID” event disable }