Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Answers

<http_request> - Operation not supported (line 5) invoked from within "HTTP::header insert X-Forwarded-Proto "https"" </http_request>

Hello Need to insert X-Forwarded-Proto "https" in the header when HTTP_REQUEST Unfortunately I get this error message : - Operation not supported (line 5) invoked from within "HTTP::header insert X-Forwarded-Proto "https""

Anyone has an hint to fix this ?

0
Rate this Question
Comments on this Question
Comment made 4 months ago by crodriguez

I tested the following basic iRule and was unable to recreate your issue. (It inserts the header, as expected, and no error message is generated.):

when HTTP_REQUEST {
    HTTP::header insert "X-Forwarded-Proto" "http"
}

Would you add your iRule code to this question so as we can see the context in which you are trying to add the header, please?

0

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

You probably have other iRules on which you are doing redirect or suchlike.

0