iis - Remove HTTP headers inserted by Managed Fusion URL Rewriter -
i'm toying managed fusion's url rewriter , noticed adds couple http headers iis’ response:
x-rewritten-by: managedfusion (rewriter; reverse-proxy; +http://managedfusion.com/) x-managedfusion-rewriter-version: 3.5
how can remove these headers? (i'd keep things small performance reasons.)
unfortunately, documentation little sparse. configuration example suggests:
<!-- minimal sample configuration file shows how declare configuration sections. because xml schema definition (xsd) generated each configuration section, should trivial edit these files because have intellisense on xml definition. -->
however, i'm not seeing intellisense in visual studio, can't see if configuration option can stick in web.config.
ended finding configuration option after perusing the xsd in source.
the relevant attribute allowvanityheader
.
<managedfusion.rewriter xmlns="http://managedfusion.com/xsd/managedfusion/rewriter"> <rewriter allowvanityheader="false" /> </managedfusion.rewriter>
(included in <configuration>
node of web.config.)
Comments
Post a Comment