Just need to know if I'm correct but I'm trying to setup a HTTP Rewarite for a hostname. I.E if a user addressed http://test.joebloggs.com and i wanted it to redirect to http://test1.joebloggs.com can this function do that?
If so I have tried but doesn't seem to work see my action list line;
action-list type modify http PoC_APPS_HTTP_Mod
a little new to ACE so this is a POC test.
Here is the correct way to do it:
action-list type modify http RewriteHost
header rewrite request Host header-value "test(.*)" replace "apps%1"
Be aware that does not redirect the user to apps. It just forwards the request to the test server with the host field rewritten in the http header.
If you want a redirect to a different server, you need to create a redirect service which will send a 302 redirect to the client forcing a new connection to be open to apps....