Forum Discussion

igorzhuk's avatar
igorzhuk
Icon for Altostratus rankAltostratus
Jun 10, 2018

Change Pagename /Vdesk/Hangup.php3

hi i have a APM with saml auth

 

Can any way to rename the /Vdesk/Hangup.php3 page (for logout) i don't want that the client see in developer mode (F12 in chrome) the Hangup.php3 page flow ?

 

1 Reply

  • Hi Igor,

    It is by design and no way to change that in the configuration. Therefore, you could technically rewrite it.

    You can layer two VS : user -> VS1 (LTM only) -> VS2 (with access profile)

    then you just have to set the following irule on VS1 :

    when HTTP_REQUEST {
        if { [HTTP::uri] starts_with "/logoutsession" } {
            HTTP::uri [string map {"/logoutsession" "/Vdesk/Hangup.php3"} [HTTP::uri]]
        }
    }
    when HTTP_RESPONSE {
        if { ( [HTTP::is_redirect] ) and ( [HTTP::header Location] starts_with "/Vdesk/Hangup.php3" ) {
            HTTP::header replace Location [string map {"/Vdesk/Hangup.php3" "/logoutsession"} [HTTP::header Location]]
        }
    }
    

    Find more information here:

    https://devcentral.f5.com/questions/mypolicy-uri-rename

    Regards