Hi guys I´m trying to redirect traffic based on destination IP using an Aflex, for example if a internal user sends traffic to 20.20.20.20 the A10 will redirect the traffic to a specified service group Aflex: Test #1 when CLIENT_ACCEPTED { if { [IP::addr [IP::remote_addr] equals 20.20.20.20] } { pool APACHE } } Test #2…
Hello, I been working on an aflex to do redirection of a web site. Here's what I' trying to achieve: Src host: mySRCsite.com Src path: /services/?app=test&annee=2022 Dst host: myDSTsite.com Dst path: /test/app1/USER=toi&LANGUE=FM&AN_ATTRB=2022 Redirection works, problem is that is hard coded at this time. What I want is…
Hello, I need your help and knowledge on A10 with aFlex. I am trying to create a 302 redirect for a site that is published on the internet but when testing the redirect it does not execute it, this is my code so that you can guide me: when HTTP_REQUEST { if {[HTTP::host] == "https://recargaweb.imperial.com/" } {…
Hi Everyone: We have an interesting issue we're trying to tackle. We have a Virtual Server with multiple virtual ports (http:80, https:443, https:4444, https:4445, etc). We currently have a working redirect script (similar to a lot of posts on here) for 80 to 443 and it is working fine for several of our virtual servers:…
Can we redirect to external url when all real servers failed health check.
Our team is looking for an aflex code that can rewrite the server response. We want to achieve in this aflex is to redirect first the traffic response from the server to 192.168.10.1:3013 for authentication login then after user successfully login redirect again to the other port 192.168.10.1:2011 which is the main…
Hello, I am hoping there is an aFlex solution for what I'm trying to do - I currently have an aFlex rule that is: when HTTP_REQUEST { if { not([HTTP::host] equals "www.mydomain.com")} { HTTP::respond 301 "Location" "http://www.mydomain.com" } } Basically saying that if the user does not type www., a hard redirect will…
Hi guys, I need a proxy pass rule to send the connection from /PortalTransparencia to /PortalTransparencia/HomeTransparencia I can´t use HTTP::redirect