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...
Published Mar 18, 2015
Version 1.0Kirk_Bauer_1018
Nimbostratus
Joined November 08, 2006
Kirk_Bauer_1018
Nimbostratus
Joined November 08, 2006
Jason_Adams
Feb 27, 2019Employee
@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.corp
URI=/: 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.