Forum Discussion
dkraut_23236
Nimbostratus
Mar 16, 2009Simple URL redirect?
I've read the irule samples, but they're not very intuitive. All I want to do is take a simple incoming internal url such as http://Alias and then redirect it to http://ActualServerName.internal.com:8102/blah/blah/TheEnd
I'd like the end user to only see http://Alias and not the internal server name/paths.
Is this easily done with an irule? If so, any guidance would be very much appreciated.
Thanks! Dave
3 Replies
- James_Quinby_46Historic F5 AccountDave -
What you're looking for is not so much a redirect as it is the ability to proxy a request for http://alias to http://ActualServerName.internal.com:8102/blah/blah/TheEnd without their knowledge. The good news is that there's an iRule to do this here:
http://devcentral.f5.com/wiki/default.aspx/iRules/ProxyPass.html
The rule is a little long - jump past it to the description to see if this is what you're looking for functionally. If you're at all familiar with apache-style ProxyPass, it'll look familiar. - dkraut_23236
Nimbostratus
thanks jquinby, that looks like it will accomplish what I need, but my brain almost exploded while trying to decipher that irule! lol. I imagine that I only need a small portion of it along with a data group? - James_Quinby_46Historic F5 AccountI would go with the whole thing (and the data group).
JQ
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
