Forum Discussion

William_128276's avatar
William_128276
Icon for Nimbostratus rankNimbostratus
Aug 01, 2006

Can the F5 rewrite/append data to a URL

One of our customers has limited the length of URL's to 100 characters. Is there a mechanism on the F5 to append character strings to the URL.

 

 

Example:

 

http://abs.goodyear.com/AIT/InvCheck

 

 

 

http://abs.goodyear.com/sap/xi/adapter_plain?namespace=urn%3Agoodyear%2Ecom%3AAIT%3AInventoryCheck&interface=AITInventoryCheck_Abs&service=HTTP_AIT_InvChk&QOS=BE&sap-client=010&sap-language=EN

 

 

 

 

3 Replies

  • I'm not sure I follow your example, but yes, this is doable:

    
    when HTTP_REQUEST {
      HTTP::uri "[HTTP::uri]"
    }

  • I didn't realize but they've changed the URI?

     

     

    /AIT/InvCheck has changed to sap/xi/

     

     

     

    http://abc.goodyear.com/AIT/InvCheck

     

     

    http://abc.goodyear.com/sap/xi/adapter_plain?namespace=urn%3Agoodyear%2Ecom%3AAIT%3AInventoryCheck&interface=AITInventoryCheck_Abs&service=HTTP_AIT_InvChk&QOS=BE&sap-client=010&sap-language=EN

     

     

     

    Your suggesting:

     

     

    when HTTP_REQUEST {

     

    [HTTP::url] == [HTTP::uri] >"

     

    }

     

     

    How do I handle the /AIT/InvCheck without a redirect?
  • The URI can be completely rewritten, it just depends on your requirements. Perhaps if you could spell out what the client will be submitting, including dynamic URI's generated by your application, and what the application itself needs to receive to supply valid content, we'll be able to help you out.