Server response redirected to other port.

Community Forum Forums Thunder and AX Series aFleX Server response redirected to other port.


This topic contains 0 replies, has 1 voice, and was last updated by avatar netcrawler 3 years, 4 months ago.

Viewing 1 post (of 1 total)
  • Author
  • #5154

    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 for authentication login then after user successfully login redirect again to the other port which is the main dashboard of the user.

    Note all of this application is reside only on one server.

    We are trying this script but it is not working. Can someone tell me working script.

    when HTTP_RESPONSE {
    set VIPtest
    # For all the redirects from the servers
    if { [HTTP::is_redirect] } {
    # Check if the location header contains “:8080”
    if {(HTTP::host contains “:8080”)} {
    # Remove “:8080” from the Location header

    HTTP::redirect “http://$VIPtest:8009”

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

Comments are closed.