Forum Discussion

4 Replies

  • Hi Aguinas,

     

    I think what you want to do is quite simple, especially as a profile exists for this purpose. You can use a rewrite profile.

     

    Can you please confirm me that you want to process rewrite only in response... If not you have to implement an irule for the request.

     

    Procedure: Local Traffic --> Profiles --> Services --> Rewrites.

     

    You set Rewrite mode: URI Translation In URI Rules you set as following:

     

    1 - Rule type: Response

     

    Client URI: http://www.xyz.com

     

    Server URI: http://www.abc1.com/asdf/hello.dll

     

    2 - Rule type: Response

     

    Client URI: http://www.xyz.com

     

    Server URI: http://www.abc2.com/asdf/hello.dll

     

    Don't forget to attach your profile to your VS.

     

    Regards

     

  • We still want to mask the both servers behind the virtual host (eg. ). So do i need to use irule for it? How can i do it? Thanks!

     

    How can i put an exception for a path and all of its lower levels (eg. etc..) not to be include in the rewrite? (If included, it will look like which what im trying to avoid)

     

  • This is a configuration issue at the server level and I would recommend you configure the server to handle the domain "; instead of a domain per server which is not scaleable.

     

    See if this may help.

     

  • Hi,

     

    Did you implement your needs?

     

    You can do it with an irule and stream profile, but I advise you to use rewrite profile as explain in my previous post. For information if you use rewrite profile you can trigged the rewrite with a specific url or a wildcard...

     

    So let me now if it's clear for you.

     

    Regards,