Forum Discussion

Nandu_neo_36730's avatar
Nandu_neo_36730
Icon for Nimbostratus rankNimbostratus
Jan 19, 2019
Solved

URL/URI redirect for virtual server without http profile.

Hello,

 

How can I redirect old URL (i.e ) to new URL (i.e ) for a virtual server without HTTP or fast HTTP profile and having persistence other than cookie persistence(some kind of affinity) enabled? I'm not using any SSL profile(client or server)!!!

 

  • Magic might be the best answer.

     

    Persistence is not relevant here.

     

    If the ssl don’t decrypt, you can’t redirect.

     

    Also, the redirects don’t make sense.

     

    Read up on http and encryption, plenty of people will probably try and give some pointers but a fundamental understanding is the first step. Happy to help once you whiteboard out what you’re trying to do and realize the issues :)

     

    -D

     

4 Replies

  • Magic might be the best answer.

     

    Persistence is not relevant here.

     

    If the ssl don’t decrypt, you can’t redirect.

     

    Also, the redirects don’t make sense.

     

    Read up on http and encryption, plenty of people will probably try and give some pointers but a fundamental understanding is the first step. Happy to help once you whiteboard out what you’re trying to do and realize the issues :)

     

    -D

     

    • Nandu_neo_36730's avatar
      Nandu_neo_36730
      Icon for Nimbostratus rankNimbostratus

      Hello Dave,

       

      Thanks for the response, I'm looking for irule for URL redirect feature which can allow me to direct traffic from legacy URL to new URL on a virtual server which is standard and when I try HTTP header it is giving me HTTP profile error and for CLIENT_ACCEPTED we are not using any SSL profile for virtual server with port 443. Is there a way?

       

      Thanks & Regards.

       

    • KeesvandenBos's avatar
      KeesvandenBos
      Icon for MVP rankMVP

      The iRule needs to be able to read the HTTP header, this can only be done if you enable a HTTP profile on your virtual server. And to get it working correctly, you will need a client and server ssl profile.

       

      Cheers,

       

      Kees

       

  • As Dave already Answered, there are 2 solutions :

     

    • decrypt ssl traffic to allow bigip to read http content and support http redirect
    • magic