|
Hi, I'm trying to make my application aware of the new variable How could I achieve it? Thanks in advance. |
Replies: 6 comments
|
See here for where and how these variables can be used. |
|
Thanks for your answer. I read it before asking, and now I've read it again, but I still doesn't know how to achieve it. Any advice will be welcome. |
|
I don't think it is possible to pass The conventional approach would be to decorate the request with a new |
|
Hi Icrilly, I tried to pass Yesterday, I found this issue that you just renamed from "Support for request headers". Being able to set custom request headers would help to pass In the same issue tippexs suggested to use environment variables as a workaround, that's why I tried to use them, but it only works for static values. At this point, my idea was to add my use case to that issue, in support of adding the request headers feature; but now that is renamed I think it makes no sense. Should I open a new issue? What do you think would be the best way to comunicate |
|
Please do create a new issue for the generic need. I was busy cleaning up to make space for it :) |
|
Variables not work in applications/*/environment section in PHP show as text HTTP_X_REQUEST_ID $request_id |
I don't think it is possible to pass
$request_idto an application without usingrewriteto somehow embed it in the URI. You probably don't want to do that! :)The conventional approach would be to decorate the request with a new
Request-ID: $request_idheader. Unit cannot do this and I cannot find a GitHub issue about it.