Forum Discussion

f5now_28704's avatar
f5now_28704
Icon for Nimbostratus rankNimbostratus
Aug 26, 2008

Hiding URI for all pages

ok, Im looking for a way to hide all the URI's from view, not sure if its possible..

 

 

I can do it like this for each URI but I was looking for something that would be like wildcard or something..

 

 

when HTTP_REQUEST {

 

if { ([HTTP::host] == "www.google.com") and ([HTTP::uri] == "/") } {

 

HTTP::uri "/Pages/default.aspx"

 

}

 

}

 

 

currently it looks like this "www.google.com/Pages/default.aspx" with this irule I changed it to look like "www.google.com" but I have many other pages.

 

 

Thanks

 

Ryan
  • hoolio's avatar
    hoolio
    Icon for Cirrostratus rankCirrostratus
    Hi Ryan,

     

     

    http://devcentral.f5.com/Default.aspx?tabid=53&forumid=16&tpage=1&view=topic&postid=2237822405

     

     

    I don't think it's feasible for you to keep the address bar set to a single value. When a client clicks on the links that are included in response content the app sends to the client, the address bar would be updated to the value of the link.

     

     

    If you need to obscure the paths in the application, technically you can encrypt them in response headers and content, and decrypt them on requests. But this is a very complex process that requires a significant amount of work.

     

     

    What are you problem are you trying to address? Maybe there is another option.

     

     

    Aaron
  • thanks for the response, marketing has the need for an aesthetically pleasing look... BS if you ask me, but I thought I would ask... irules have been know to do some pretty cool stuff in the past.

     

     

    thanks again.
  • Patrick_Chang_7's avatar
    Patrick_Chang_7
    Historic F5 Account
    Look at the proxypass iRule. You could have marketing provide you with a list of the URI transformations they want. Then, you can enter that in as the data group of the proxypass iRule.
  • cool idea, I will have to check it out thanks for the reply.

     

     

    Ryan