Dynament variable for host name

35 views
Skip to first unread message

Walter

unread,
Nov 8, 2012, 7:41:45 PM11/8/12
to reddot-c...@googlegroups.com
Hello all,

I working in a Delivery Server project that's recently been updated to 11.0.  There's some XML scripts with lines of code that look something like this:

<rde-dm:constraint>
            [#request:rde-rd:httpHeader-host#] EQ "m.mysite.com"
</rde-dm:constraint>
<rde-dm:if>
     <![CDATA[
            <!-- HTML goes here...  
     ]]>
</rde-dm:if>
</rde-dm:attribute>

It checks a value called rde-rd:httpHeader-host, and then adds some HTML if the host name matches.  This code works in 10.1, but I can't get it to work in 11.0.  There's no mention of it in the manual that I see... Perhaps it's undocumented, and support has been removed?  If so, is there another way to grab the host name?

Thanks,
Walter
Reply all
Reply to author
Forward
Message has been deleted
0 new messages