http 302 response
3 Topicsirule 302 redirect
Need to create an irule for 302 redirection - I have to redirect care1.com to newcare1.com. Created the following I rule when HTTP_REQUEST { if { [HTTP::https://care1.com/] equals "/" } { HTTP::redirect "https://newcare1.com/ucmuser/" } } I am receiving this error while submitting. ---- (01070151:3: Rule [/Common/care1-test] error: /Common/care1-test:2: error: [undefined procedure: HTTP::https://care1.com/][HTTP::https://care1.fhlmc.com/]) Please guide.1.3KViews0likes8CommentsLogic for iRule on a single VIP to redirect http (80)traffic based upon uri.
I'm creating an iRule on a single VIP to redirect http (80)traffic below as follows. webmail..com --> 302 redirect to https://outlook.office365.com/owa/sample.net webmail.sample.net --> 302 redirect to https://outlook.office365.com/owa/sample.net webmail.sample.com --> 302 redirect to https://outlook.office365.com/owa/sample.net onedrive..com --> 302 redirect to https://login.microsoftonline.com/login.srf? onedrive.gsiccorp.net --> 302 redirect to https://login.microsoftonline.com/login.srf? onedrive.gsicommerce.com --> 302 redirect to https://login.microsoftonline.com/login.srf? Can someone assist me with what my logic would look like. I'm a little unsure on my else if statements. I was thinking: When HTTP_Request { if{ [HTTP::header Host] == "www.sample.com" }{ pool pl_Sample -NOT POOL-I want a URL https://outlook.office365.com/owa/sample.net elseif{ [HTTP::header Host] == "www.sample2.com" }{ pool pl_Sample -NOT POOL-I want a URL-https://outlook.office365.com/owa/sample2.net elseif{ [HTTP::header Host] == "www.sample2.com" }{ pool pl_Sample --NOT POOL-I want a URL-https://outlook.office365.com/owa/sample3.net drop316Views0likes4Commentshttp 302 redirect
Hey all, getting further in my sharepoint implementation. I am hitting a snag with the http redirects coming from my internal sharepoint server. it's telling the client to redirect to https://mysite.domain.com/default.aspx via a http 302 response but the URI is not making it back to the client. This makes the client just load the root page which is the IIS default welcome page. I was reading some things about redirect rewrites and the options provided there but none of those changed the result. Now I can explicitly type in /default.aspx to get to the sharepoint welcome page and it works just fine, the redirect just does not make it through the F5. Any ideas? -GR561Views0likes8Comments