Forum Discussion
Krishnamurali_2
Nimbostratus
Aug 16, 2017Host header match - Http host
I am looking for the Irule for the improper input handing (Host header)
Basically application uses the input coming from the Host or X-Forwarded-Host request headers as part of the response without ...
AceDawg1
Nimbostratus
Aug 16, 2017Krishnamurali_2
Nimbostratus
Aug 21, 2017Is there any we can right like this
when HTTP_REQUEST {
If { [HTTP::header exists "abc.com"] } { else { [HTTP::header insert "page not found"] }
}
}
but when i execute this , i am getting error message . pls find the below
ule [/Common/hostheader] error: /Common/hostheader:3: error: [undefined procedure: If][If { [HTTP::header exists "abc.com"] } { else { [HTTP::header insert "page not found"] }
}]
please advise ..
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects