Forum Discussion
Application redirection
Hollo Community
We are creating an application in F5(legacy app). The application need to working on port 443 and we created a vip with port 443. When login in to the application it's redirecting to port 7900 and the connection got refused as we are not having a vip(on port 7900). Application team need secure connection towards vip and 7900 vip with pool creation not a suggested solution
For example, if we try application in https://xys.com it's working and getting the login page. After providing login credentials it's redirecting to http://xys.com:7900 and blocking
After login I removed 7900 and refresh https:xys.com it's working as logged session.
Need your suggestion how I can establish secure connection for this vip all communication. If any 7900 traffic in browser it's should forward to port 443 .
Amir
Please use the F5 inbuild irule
_sys_https_redirect
- Aswin_mkCumulonimbus
Hello Amir
Are you expecting 7900-> 443 redirection in browser and application access?
Br
Aswin
- Aswin_mkCumulonimbus
Please create a http vip with port 7900 and add_sys_https_redirect irule. No need to add pool and if any request come to port 7900, F5 will redirect the traffic to https
Br
Aswin
- akonuModerator
To accomplish this task, you could use a stream profile.
K39394712: Overview of the Stream profile
https://my.f5.com/manage/s/article/K39394712
A similar question has also been answered in the post below.
Redirect Rewrite not working - how to write an irule to redirect non-standard port
https://community.f5.com/discussions/technicalforum/redirect-rewrite-not-working---how-write-an-irule-to-redirect-non-standard-port/50107I hope this helps .
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