HttpProtocol element

Previous Next

In a config.xml server configuration file, the <HttpProtocol> element contains configuration properties for HTTP headers. This element contains <Headers> and <Header> elements.

 

Example

<HttpProtocol>
   <Headers>
      <Header name="X-Frame-Options" value="SAMEORIGIN" description="Protects against Clickjacking attacks."/>
      <Header name="X-XSS-Protection" value="1; mode=block" description="Protects against XSS injections"/>

      <Header name="X-Powered-By" value="USoft B.V." description="Custom header"/>
   </Headers>
</HttpProtocol>

 

 

collapseHttpProtocol
collapseHeaders element
collapseHeader element

 

 

See also

Server configuration