j_carl_39543
Nov 29, 2012Nimbostratus
Creating iRule to mask/hide URL
Hi All,
Hi All,
The iRule was tailored very specifically for a customer's application. It was ~1200 lines of code. It's not feasible for you to adapt that iRule to a new application.
Aaron
set server_location [string tolower [HTTP::header Location]]
if {$server_location starts_with "172.10.10.10:8050/cgi-bin/"} {
HTTP::header replace Location [string map -nocase {172.10.10.10:8050/cgi-bin/lansweb 172.10.10.10:8050/} [HTTP::header value Location]]
}
}
I have created an iRule to limit the uri displayed on the URL but it seems that it was not functioning as what it is created for. Can you guys help me if I missed something or need additional configurations.