Hi everyone,
we are trying to change the URI and add an username as value to the query after APM Logon was succesful.
User connects to the APM Portal → https://abc.com → Login was sucessful → https://abc.com/path/data?key=USERNAME
However, our iRule is not working. I think we have a mistake in our thinking..
when HTTP_REQUEST {
set user [ACCESS::session data get "session.logon.last.username"]
if { ([HTTP::path] equals "/") }{
HTTP::uri "/path/data?key=$user"
}
log local0. "User ist $user"
log local0. "[HTTP::uri]"
}
Thanks alot in advance!
Michael