ProxyPass v10/v11
Problem this snippet solves: iRule to replace the functionality of Apache Webserver ProxyPass and ProxyPassReverse functions. Allows you to do hostname and path name modifications as HTTP traffic pa...
Kirk_Bauer_1018
Altostratus
Jason_Adams
7 years agoRet. Employee
@Diogo Rocha
I'm not sure I follow what you mean.
- Where is the redirect happening?
- From your back-end server?
- What isn't being maintained?
- The logs you provided show that the LTM is honoring the URI Clientside -> Serverside
-
Initial request matching your rule
xpto.company.com.br := xpto.company.corpURI=/: Found Rule, Client Host=Xpto.company.com.br, Client Path=/, Server Host=Xpto.company.corp, Server Path=/ URI=/: Using default pool /Common/Pool_SAS -
The second request maintains the URI of
clientside -> serverside./SASDrive/URI=/SASDrive/: Found Rule, Client Host=xpto.company.com.br, Client Path=/, Server Host=xpto.copmany.corp, Server Path=/ URI=/SASDrive/: Using default pool /Common/Pool_SAS"
So, please be clear on what you have observed is not working.