I just want to use the relative URI in the ICAP profile

Hi;

I have set up an ICAP internal virtual server for load-balancing ICAP requests between two ICAP scanners. As you know, this comes as the second stage after a https virtual server recieves a file upload.

Now, I don’t want to use an absolute URI in the ICAP profile, which I need to allocate to the ICAP internal virtual server. Because if I do, and I use the URI of one ICAP scanner, how can I still load balance to the other scanner?

It would be great if I can just do /reqmod

Kindly

Wasfi

Hi  @Wasfi_Bounni  , 
Well , you can use this macro at URI field in ICAP profile configuration:

icap://${SERVER_IP}:${SERVER_PORT}/path

Using this Macro will replace ( ${SERVER_IP} by Selected Icap member ip from ICAP pool which you assigned to internal virtual server , and ${SERVER_PORT} Will follow the same mechnism.

Please Follow this Offical Article step by step in your implementation :

you will find all steps on details on it , or you can use it as a reference to review your configs.

Goodluck :slightly_smiling_face:

Thank you Sir.