Forum Discussion
Dhruwal_Patel_2
Nimbostratus
Mar 23, 2007Need help for url rewrite
Hello,
I am new to iRule, so i need to clear some doubts if any one can help.
We have a scenario:
We have 2 web servers for which bigip will be balancing.
Things to acheive:
Note: $1 = remaing url with query
1) when a request comes like:
https://www.payment.business.com/product/$1
Then Bigip should modify that and send to webserver in this format
http://www.transaction.com/$1
Once the webserver receives this url, it will do some process and return the url like:
http://www.transaction.com/business/$1
Now BIGIP should remodify it before sending it to the browser who requested as follows:
https://www.payment.business.com/product/$1
Note: Internally servers handle different url, but for customers urls are different, and internal urls are transparent for them.
The script should work for n number of domains.
Is there any1 who can help me to script it?.
Also i am worried about, what if many users access this url at same time, then will bigip manages all the rewrite sessions?
if i am not clear, then please let me know.