Hi,

  We are using Synapse to validate and remove security headers.
It works great and is pretty simple to configure using Rampart policy file.
But we have a strange problem , because of how our dev environment is setup.
Here is my synapse config for proxy.
<proxy name="PingService">
<target>
<inSequence>
 <property action="set" name="Host"
value="testserver" scope="transport"/>
<send>
<endpoint>
<address
uri="http://testserver/service/PingService"; />
</endpoint>
</send>
</inSequence>
<outSequence>
<send></send>
</outSequence>
</target>
</proxy>

I want only 'testserver' in Http header in the request being sent to the
actual service.
like this
Host:  testserver
But synapse adds the port as well, even though I hard code the HTTP header
to testserver
Host:  testserver:80
Is there any way to override this behaviour. The <property> tag seems to add
other headers, but it doesnt have any affect on Host header.

Thanks for the help.

- Prasanth

Reply via email to