14-Jan-2022 04:01
HI,
I've just started using the F5 platform and have run into a probelm from a 'non standard' server setup.
The server is running a non ecrypted webserver on port 1234
I have the ssl cert setup on an LTM profile with a VIP listening on port 443.
the problem i have is when i go to HTTPS://IPADDRESS the reposnse i get is HTTPS://IPADDRESS:1234/welcome.htm and nothing else shows up. which makes sense as the client can't get to port 1234.
How can i make the reposonse return to the client without the server portnumber being included?
Thanks,
14-Jan-2022 04:35
Hi Adam,
Could you post the virtual server configuration of both?
Use the command: tmsh list ltm virtual <name of the virtual server>
And any irule attached to these virtual servers.
Cheers,
Kees
14-Jan-2022 05:05
Ok, it a rewrite profile attached?
If not, could you add a profile to the configuration with these settings:
client side: https://FDQN/
server side: http://FQDN:1234/
And test this.
Cheers,
Kees
14-Jan-2022 05:26
It sounds like the application is sending an absolute self-referencing redirect. You can changing the 'Redirect Rewrite' setting in the http profile of the virtual server. For more information, see this post:
https://devcentral.f5.com/s/articles/rewriting-redirects