Forum Discussion

Ken_Wong_48678's avatar
Ken_Wong_48678
Historic F5 Account
Dec 07, 2008

ACA auth in particular url

Hi,

 

 

I have configured a VS with ACA authentication profile, it works fine. But now I want to triggar the authentication based on some particular url.

 

 

I can use irule to check the url but how to enable the authentication profile when url match? Thanks

 

 

Regards,

 

Ken

2 Replies

  • Hi Ken,

     

     

    Colin posted an article a while back on this:

     

     

    Selective Client Cert Authentication

     

    http://devcentral.f5.com/Default.aspx?tabid=63&articleType=ArticleView&articleId=219

     

     

    Maybe this will get you started? Else, if you search for the forum for the particular type of authentication you're using, you can get more examples.

     

     

    Aaron
  • Ken_Wong_48678's avatar
    Ken_Wong_48678
    Historic F5 Account
    thanks for your info, right now I am using a quite indirect way to do it.

     

     

    1. create vs1 using ACA profile

     

    2. create vs2 with irule to check url and based on the url to use above virtual

     

     

    seems LTM does not have a simple way to do ACA based on particular url

     

     

    when HTTP_REQUEST {

     

    set my_uri [string tolower [HTTP::uri]]

     

    if { $my_uri contains "/secure" } {

     

    virtual VS1

     

    } elseif { ( $my_uri starts_with "/ssl" ) } {

     

    HTTP::redirect https://1.2.3.4$my_uri

     

    }

     

    }