How to change the HTTP response header "Server" (or any other string in the header) using Macros?
After unsuccessfully sought an outcome by changing the Delphi code, it appeared that the solution was simple.
anywhere in the template, it is possible to add a header using a macro as follows model
{.add header|A: B, C, D.}
an example give Cache-Control: no-cache, no-store, must-revalidate, max-age=-1
if a previous header exist as A: F then the final header become A: F, B, C, D
using macro {.add header|Server: APACHE.} give as result Server: HFS 2.3h, APACHE
if you want to remove this HFS + version that annoy you, this is not feasible using a macro
go to menu > other options, and uncheck "Send HFS Identifier"
After unsuccessfully sought an outcome by changing the Delphi code, it appeared that the solution was simple.
anywhere in the template, it is possible to add a header using a macro as follows model
{.add header|A: B, C, D.}
an example give Cache-Control: no-cache, no-store, must-revalidate, max-age=-1
if a previous header exist as A: F then the final header become A: F, B, C, D
using macro {.add header|Server: APACHE.} give as result Server: HFS 2.3h, APACHE
if you want to remove this HFS + version that annoy you, this is not feasible using a macro
go to menu > other options, and uncheck "Send HFS Identifier"