Forum Discussion
Bin_Chen_8638
Nimbostratus
Nov 10, 2008Help on URL Re-write
Hello, I am completely new to this forum, so pardon me if I ask this question again.
BACKGROUP
Our system consists of the following
gateway_host: SSL
Portal_host: Portal server
Blg_host: business logic server
We access all business logic via Portal, which handles the reqeust and then forward the request to Blg_host. After user login, this will be users portal page:
https://gateway_host/http://portal_host/portal/dt
Now, if end user click on any links on his portal page, a page with URL in the following format returned to a separate window
http://blg_host/ebuisiness.aspx?someID=000000000
Out gateway re-write this URL to the following and return to end user:
http://gateway_host/http://blg_host/ebuisiness.aspx?someID=000000000
QUESTIONS
If my F5 is named f5_host, how can I simplify my system so that end users only know about f5_host? In the above example, the user would see the response as:
https://f5_host/ebuisiness.aspx?someID=000000000
and never see blg_host in the URL?
Thank you so much for answering my question. Please provide example of code if possible.
3 Replies
- The_Bhattman
Nimbostratus
Just be clear, is the SSL handled at the F5 or on the gateway host? - Bin_Chen_8638
Nimbostratus
Our intention is to replace the gateway_host with F5 so we have one less element in the network. Thanks. - The_Bhattman
Nimbostratus
There are several ways I can think of.
1) One is using the stream profile which allows you to rewrite on the portal page as viewed to the client.
The following is a link that describes using the stream profile
http://devcentral.f5.com/Default.aspx?tabid=63&articleType=ArticleView&articleId=101
2) use HTTP::redirect command within an iRule
The following link is an example of how to use the Syntax
http://devcentral.f5.com/wiki/default.aspx/iRules/HTTP__redirect.html
I hope this helps
CB
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
