# 404 cannot be found

**URL:** <https://community.f5.com/t/404-cannot-be-found/43766>\
**Category:** Technical Forums\
**Tags:** irules, ltm, application-delivery\
**Created:** [October 29, 2019, 4:57pm UTC](https://community.f5.com/t/404-cannot-be-found/43766 "2019-10-29T16:57:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohsen](https://avatars.discourse-cdn.com/v4/letter/m/8491ac/32.png) [@Mohsen](https://community.f5.com/u/Mohsen)\
**Post date:** [October 29, 2019, 4:57pm UTC](https://community.f5.com/t/404-cannot-be-found/43766/1 "2019-10-29T16:57:51Z")

</div>

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.

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

```

---

<div class="post-metadata">

**Author:** ![Enes\_Afsin\_Al](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/enes_afsin_al/32/15359_2.png) [@Enes\_Afsin\_Al](https://community.f5.com/u/Enes_Afsin_Al)\
**Post date:** [October 29, 2019, 7:52pm UTC](https://community.f5.com/t/404-cannot-be-found/43766/2 "2019-10-29T19:52:01Z")

</div>

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?

```tcl
curl http://<node-ip>/uri

```

---

<div class="post-metadata">

**Author:** ![boneyard](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/boneyard/32/20419_2.png) [@boneyard](https://community.f5.com/u/boneyard)\
**Post date:** [November 2, 2019, 2:03pm UTC](https://community.f5.com/t/404-cannot-be-found/43766/3 "2019-11-02T14:03:17Z")

</div>

as eaa is saying, it the request you want to forward available like it is requested?
