Lumen help

Adding a response-header definition to a configuration

Use a response-header definition to return custom header responses to specific requests.

  1. From the main menu, select My Services > Caching
My Service - Caching
  1. From the lists, select the access group and SCID (service component ID) you want to work with. 
My Services - Caching (with SCID selected)
  1. From the list, select the configuration. 

To add a response-header definition to a configuration:

  1. From an open configuration, click Edit Configuration.
my services caching edit configuration
  1. In the Service-Wide Definition section, click Response Headers.

    Media portal lists the response-header definitions for the configuration (if any).
my services caching add configuration response headers
  1. Click New Definition.
my services caching add configuration geo regions new definition with definition name and two countries added
  1. Type a name for the definition. (You can leave the auto-generated name or type a name more meaningful to you.)
  1. Do one of the following:

    • To specify categories of HTTP status codes you want to include in the definition, select the checkbox(es) next to those categories. You can also select the Custom Status Code checkbox and specify other status codes (separated by a comma) in the field that appears.

    • To add all status codes to the definition, select the All Responses checkbox.
  1. Fill in the information for the response header:

    1. In the Header Name field, type the name of the response header.

    2. In the Header Value field, type the value to be returned for that header.

    3. To add additional headers, click Add, then repeat steps a and b.
  1. If you need to edit or add other definitions, continue editing the configuration without saving. (Saving the configuration creates a new version.) When you're done editing the configuration, continue with step 8.
  1. Click Save (above the Service-Wide Definition section). You can also click Save As to save the configuration under a new name.
  1. If needed, make any notes to describe the changes you made.
  1. Click Save again.

    Media portal saves the configuration with the new definition.