Forum Discussion

Mohsen's avatar
Mohsen
Icon for Altostratus rankAltostratus
Oct 29, 2019

404 cannot be found

Hello,

I have an iRule that checks the source IP Subnet and if it matches what's in the data group it make the connection with a different pool other than the default pool, otherwise the connection goes like normal to the default pool.

What's happening now is that when the IP matches what's the data group, I am getting 404 page cannot be found.

any help with this is greatly appreciated.

when HTTP_REQUEST {
    if { [class match [IP::client_addr] equals datagroup_name] } {
        pool someother_pool
    }
}

2 Replies

  • Hi Mohsen,

    When the IP matches dg, if server of someother_pool not have uri file, you encounter 404 page.

    Can you check 404 request via curl?

    curl http://<node-ip>/uri
  • as eaa is saying, it the request you want to forward available like it is requested?