cancel
Showing results for 
Search instead for 
Did you mean: 

LTM - Proxypass for a single URI with content response rewrite

VisiGod
Altostratus
Altostratus

I'm trying to publish an internal website (xpto.company.local/originalfile.php) but I want to present it to the customer as xpto.company.com/index.php. I can do the URL rewrite (request and response) but i can't figure out how to rewrite the content so that the customer can call xpto.company.com/index.php?option=1 and the LTM forwards it to xpto.company.local/originalfile.php?option=1. I'm also having no luck rewritting the response from the server (payload) on the LTM to change the internal url's to external ones. I've looked into proxypass but all the documentation and examples only talk about folders and not files.

Any help would be appreciated. The LTM is with v13.

1 ACCEPTED SOLUTION

Sebastiansierra
Cirrocumulus
Cirrocumulus

Hi,

You can have some solutions for your requirement, please follow the next link that can guide you :

https://clouddocs.f5.com/training/community/irules/html/class2/module2/lab2.html

Hope it´s help.

View solution in original post

2 REPLIES 2

Sebastiansierra
Cirrocumulus
Cirrocumulus

Hi,

You can have some solutions for your requirement, please follow the next link that can guide you :

https://clouddocs.f5.com/training/community/irules/html/class2/module2/lab2.html

Hope it´s help.

VisiGod
Altostratus
Altostratus

Thanks for the directions @Sebastiansierra . Part of the issue was solved with your link. Much appreciated!