Forum Discussion
F5 iRule Reverse Proxy, rewrite, redirect
Hello,
how about the browser masking ? The other page is just accessible with https://IP-Address/toolno FQDN, no company.com host anymore, so in your case I should use a pool with a member inside which is the server that hosting the new page https://IP-Address/tool, How about certificate issues ? For me doesn't matter it is a redirect or not, I need a possible working solution, thats all ;), I search the best way to do that.
- Injeyan_KostasSep 17, 2025
Nacreous
The issue comes when you say
Of course, https://company.com/tool should remain in the browser.
If you don't need this the a simple redirect is fine
when HTTP_REQUEST { switch [string tolower [HTTP::host]] { "company.com" { switch -glob [string tolower [HTTP::path]] { "/tool/*" { HTTP::redirect "https://x.x.x.x[HTTP::path]" } default {} } } default {} } }
but with redirect of course the browser url will change and there will be a certificate warning due to ip used instead of a url with valid cert
If you reverse poxy the request there will be no cert issue as you will stil server company.com domain which I assume you have certificate for
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