Environment variable usage

Gerald HILD
7 March 2018, 11:31
I have a little problem with URLToolkit.
Is it possible to use environment variable in redirect command ?
I want to redirect http to https but my product doesn't use name to access but it use IP address.
I make a URLToolkit like this:
UrlToolkit {
UseTLS return
Match (.*) Redirect https://{HTTP_HOST}{REQUEST_URI}

If I connect to my website with , the redirection is https://{HTTP_HOST}{REQUEST_URI} and not the
My question is : Is it possible to use environment variable and how to use them ?
Thank you for your help!
Hugo Leisink
8 March 2018, 13:10
That is not possible in Hiawatha. But you can use the RequireTLS setting instead.
This topic has been closed.