Mark_Vogel
Aug 07, 2020Altostratus
iRule to have different client-side URIs use different server side tcp ports
We've got a pair of web servers with identical configs that will be hosting several (same) websites, and each site on the web server uses a different port (82-86). What the web admins would like is for a user to enter https://mysite.company.com in their browser and on the server side that needs to hit the web server as https://mysite.company.com:82 (but the client is NOT to see the :82). Then https://mysite.company.com/Food (client side) needs to hit the web server as https://mysite.company.com:83/Food.
It seems to be that a redirect is not what's wanted here because we don't want to redirect the client to the :8x URL. We want to rewrite in some way. I'm not sure how to accomplish this. Any suggestions are greatly appreciated!