How To: Add a Custom HTTP Header

Prerequisites

This feature is very technical and this documentation is only for technical experts.

You should be familiar with HTTP protocol as well as HTTP Headers.

Overview

Some use case might require that Terminal Service Plus web server returns one or more custom HTTP Headers in addition to the standard ones.

This feature answers this specific need.

Setting up a custom HTTP Header

To add your own custom HTTP Header, you need to:

  • Create the file "headers.bin" in the folder "C:\Program Files (x86)\TSplus\Clients\webserver"
  • Add the custom headers separated by new line, for instance case: header1=X-Frame-Options
  • Restart webserver (AdminTool > Web > Restart Web Servers) to apply changes

Terminal Service Plus server will now respond to all queries with this custom HTTP Header in addition to the standard ones.