# irule

**URL:** <https://community.f5.com/t/irule/24732>\
**Category:** Technical Forums\
**Tags:** irules, devops, application-delivery\
**Created:** [August 21, 2015, 2:02pm UTC](https://community.f5.com/t/irule/24732 "2015-08-21T14:02:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vvskaladhar\_488](https://avatars.discourse-cdn.com/v4/letter/v/8e8cbc/32.png) [@vvskaladhar\_488](https://community.f5.com/u/vvskaladhar_488)\
**Post date:** [August 21, 2015, 2:02pm UTC](https://community.f5.com/t/irule/24732/1 "2015-08-21T14:02:38Z")

</div>

when HTTP\_REQUEST { HYPERLINK "http::header"HTTP::header replace X-Forwarded-Proto “https” }

when I try to implement irule i am seeing error can someone let me know if there is any modification required in irule ?

error i am seeing as below

01070151:3: Rule [/Common/test] error: /Common/test:2: error: [undefined procedure: &160][] /Common/test:2: error: [parse error: extra characters after close-quote][HTTP::header replace X-Forwarded-Proto “https”] /Common/test:2: error: [undefined procedure: replace][replace X-Forwarded-Proto “https”]

---

<div class="post-metadata">

**Author:** ![Kevin\_Stewart](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/kevin_stewart/32/15267_2.png) [@Kevin\_Stewart](https://community.f5.com/u/Kevin_Stewart)\
**Post date:** [August 21, 2015, 2:46pm UTC](https://community.f5.com/t/irule/24732/2 "2015-08-21T14:46:28Z")

</div>

Not sure exactly what you’re trying to do, but “HYPERLINK” is not an iRule command.

```tcl
when HTTP_REQUEST {
    HTTP::header replace X-Forwarded-proto "https"
}

```

---

<div class="post-metadata">

**Author:** ![vvskaladhar\_488](https://avatars.discourse-cdn.com/v4/letter/v/8e8cbc/32.png) [@vvskaladhar\_488](https://community.f5.com/u/vvskaladhar_488)\
**Post date:** [August 26, 2015, 3:01pm UTC](https://community.f5.com/t/irule/24732/3 "2015-08-26T15:01:12Z")

</div>

got it thanks Kevin
