Forum Discussion

Eric_104505's avatar
Eric_104505
Icon for Nimbostratus rankNimbostratus
Apr 25, 2013

changing uri

Hello, I've been combing over the irules forums but couldn't find an answer to this question.

 

I'd like to know if there is a way to change a uri like so: if a user goes to www.company.com, the url in the browser is www.company.com/core/stuff/next/blah/index.html

 

'd like to figure out how to stip out everything past the .com/, so the url is cleaned up and the rest of that path is not visible (www.company.com).

 

Thanks!

 

3 Replies

  • After discussing further with colleagues it doesn't appear to be possible. Sounds like a limitation in our web code (path issues), and changing that might allow for something like this. But if anyone has experience with this kind of iRule shenanigans let me know.

     

     

    Thanks!
  • I'd like to know if there is a way to change a uri like so: if a user goes to www.company.com, the url in the browser is www.company.com/core/stuff/next/blah/index.htmlyou may use HTTP::redirect.

     

     

    HTTP::redirect wiki

     

    https://devcentral.f5.com/wiki/iRules.http__redirect.ashx