Forum Discussion
URL Redirect with variable
Hi Again
We tried this irule and it looks redirect correctly but we have another issue like below
We will replace linux based reverse proxy to F5 and we don't want to see redirection url on browser, It will be show source url on browser but bring the target url ( Linux based reverse proxy works like this )
I think we need to write rewrite rule but i don't know how can i write this rule
Please could you help me for this situation
For more details you can see below,
Linux based reverse proxy config example
RewriteRule ^/sap/bc/srt/rfc/sap/TST_TEST_KONTROL(.*) http://tstrestr.abc.com:8011/sap/bc/srt/rfc/sap/TEST_KONTROL$1 [P,L]
RewriteRule ^/sap/bc/srt/rfc/sap/TST_TEST_CHANGE(.*) http://tstrestr.abc.com:8011/sap/bc/srt/rfc/sap/TEST_CHANGE$1 [P,L]
In this rule
^ = http://test.abc.com
(.*) = whatever comes put after $1
(?sap-client=010&sap-user=wsuser&sap-password=sm3abcde1fg)
It will going below site but can't change url link on browser http://tstrestr.abc.com:8011/sap/bc/srt/rfc/sap/TEST_KONTROL?sap-client=010&sap-user=wsuser&sap-password=sm3abcde1fg
Regards
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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