cancel
Showing results for 
Search instead for 
Did you mean: 
Login & Join the DevCentral Connects Group to watch the Recorded LiveStream (May 12) on Basic iControl Security - show notes included.

changing uri

Eric_104505
Nimbostratus
Nimbostratus

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 3

Eric_104505
Nimbostratus
Nimbostratus
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!

nitass
F5 Employee
F5 Employee
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

Eric_104505
Nimbostratus
Nimbostratus

Thanks for the reply, let me try that.