Forum Discussion

Dan_23720's avatar
Dan_23720
Icon for Nimbostratus rankNimbostratus
Mar 13, 2014

iApp - HTTP(s): 1 VS address + multiple URLS and Pools ?

Is there an iApp similar to the f5.http iApp that can create and allow reconfiguration of one VS address serving mutiple URLS and pools? Something similar to the irule below. If not, do i use the f5.http and add a pre-made irule or can an iapp be modified to provide this (and can someone help with modification)? Thanks in advance!

when HTTP_REQUEST {
        if { [HTTP::host] starts_with "xxx.example.com"  } {
            persist cookie insert xxx.example.com
            pool xxx.example.com
        }
        elseif { [HTTP::host] starts_with "yyy.example.com"  } {
            persist cookie insert yyy.example.com
            pool yyy.example.com
        }
        elseif { [HTTP::host] starts_with "zzz.example.com"  } {
            persist cookie insert zzz.example.com
            pool zzz.example.com
        }
                else {
        discard
        }
    } 

3 Replies

  • I have created one but haven't uploaded it to DevCentral yet. Will IM you to send it to you for trial.

     

  • Sorry Pete, Didn't see your reply.. I imported both iApps, used prw.host-routing-server, and it finishes without error but does not create the VS. Trying it now again.. Nope no VS. it does however show under apps and the common partition: