Forum Discussion

theXfactor82_91's avatar
theXfactor82_91
Icon for Nimbostratus rankNimbostratus
Jun 16, 2015

irule redirect question

We are moving a PeopleFinder feature over to a new Server so I am wanting to know if an irule could take care of the following...   request is http://site.com/path/peoplefinder_advanced.pl?searchS...
  • Samir_Jha_52506's avatar
    Jun 16, 2015

    Please try this.

            when HTTP_REQUEST {
            if { [HTTP::uri] start_with "/path/path/peoplefinder_advanced.pl" } {
        HTTP::redirect "http://newsite.com/peoplefinder.aspx?[URI::query [HTTP::uri]]"
            }
            }