Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Clear all filters
Answers

Select websites which will be authenticated

Hello All,

I have one virtual server and there I have assigned multiple IPs with port 80. I have created policy which assign website with pool.

I have already creatred Access policy and everything working properly, but I have to setup which websites will be authenticated and which one will be not authenticated.

So I need to select for example site www.public.com will be not authenticated but www.private.com will be authenticated.

Do you have any idea, how to solve it ?

Thank you

0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

You could always use an iRule to disable authentication on the hostnames you want no authentication on. I believe it should look something like:

when HTTP_REQUEST
{
    if {[HTTP::host] eq "www.public.com"}
    {    
        ACCESS::disable
    }
}
0
Comments on this Answer
Comment made 1 month ago by F5beginner 55

Hello, Thanks for answer,

could you please help me how to use iRules in Access Policy ?

Thank you

0
Comment made 1 month ago by M@rcus 486

Irule should be attached to the virtual on which Access policy is enabled. I guess you have provisioned APM module.

0
Comment made 1 month ago by F5beginner 55

Hi M@rcus, thanks for answer, yes I found out I can use it by attaching it to Virtual Server, and it works properly.

@Rico Thank you it works properly.

0